Constraining types to protocols
|
|
6
|
114
|
December 2, 2024
|
Instantiate associatedtype from outside of protocol
|
|
10
|
221
|
September 2, 2024
|
Retroactive conformances + dynamic downcast => type unsoundness
|
|
19
|
671
|
August 19, 2024
|
How to use constrained protocol syntax in the inheritance clause of a concrete type?
|
|
10
|
2254
|
July 23, 2024
|
Are primary associated types supposed to be transitive?
|
|
2
|
245
|
July 6, 2024
|
Why Is Covariant Self more flexible on protocols than classes?
|
|
39
|
1098
|
April 15, 2024
|
Is there any way to return a *type* (not an *instance*) as an opaque type?
|
|
3
|
1109
|
January 10, 2024
|
Static constraint for rock-paper-scissors protocol relationship
|
|
5
|
530
|
December 21, 2023
|
Associated types: Self.AssociatedType vs AssociatedType
|
|
1
|
367
|
November 5, 2023
|
Associated Conformances? Similar to Higher Kinded Types?
|
|
2
|
1078
|
September 3, 2023
|
[SE-0353] constrained existential types behavior
|
|
4
|
730
|
August 23, 2023
|
Checking constraints on associated types within a protocol
|
|
8
|
840
|
July 23, 2023
|
Member 'select' cannot be used on value of type 'any LayerCollection'
|
|
6
|
1135
|
June 25, 2023
|
Use specialized existential in class conforming to a protocol with associated types
|
|
7
|
804
|
January 11, 2023
|
Unexpected inferred associated type of existential
|
|
15
|
658
|
December 31, 2022
|
Inferred result type requires explicit coercion
|
|
3
|
1456
|
December 29, 2022
|
Is this a compiler bug?
|
|
4
|
863
|
December 6, 2022
|
Why 'any' needed when associated type known
|
|
3
|
1410
|
November 17, 2022
|
A compilation error with associated type
|
|
1
|
1238
|
November 14, 2022
|
Infer associated type on protocol conformance
|
|
3
|
1083
|
November 1, 2022
|
Associated type inference doesn't work in a situation that I assumed it would
|
|
1
|
561
|
October 27, 2022
|
Catch an error based on its protocol's associated type?
|
|
5
|
768
|
October 22, 2022
|
Swift 5.7 compiler bug? Known limitation? My mistake?
|
|
6
|
1089
|
September 12, 2022
|
More problems with Swift's type system
|
|
5
|
923
|
September 11, 2022
|
Abort trap 6/nonzero exit code
|
|
1
|
1083
|
September 9, 2022
|
Compiler Crash on nested associatedtype (swiftlang-5.7.0.123.8 - XCode 14-Beta6)
|
|
1
|
766
|
September 1, 2022
|
Understanding how to work with View as a type
|
|
4
|
3155
|
August 26, 2022
|
Existential associated types
|
|
22
|
2039
|
August 11, 2022
|
[SomeProtocol] with associated type works as [Any] - Why?
|
|
5
|
2871
|
July 22, 2022
|
`associatedtype` and `typealias-assignment`
|
|
2
|
1358
|
June 17, 2022
|