Why Is Covariant Self more flexible on protocols than classes?
|
|
39
|
730
|
April 15, 2024
|
Is there any way to return a *type* (not an *instance*) as an opaque type?
|
|
3
|
1014
|
January 10, 2024
|
Static constraint for rock-paper-scissors protocol relationship
|
|
5
|
476
|
December 21, 2023
|
Associated types: Self.AssociatedType vs AssociatedType
|
|
1
|
292
|
November 5, 2023
|
Associated Conformances? Similar to Higher Kinded Types?
|
|
2
|
961
|
September 3, 2023
|
[SE-0353] constrained existential types behavior
|
|
4
|
662
|
August 23, 2023
|
Checking constraints on associated types within a protocol
|
|
8
|
695
|
July 23, 2023
|
How to use constrained protocol syntax in the inheritance clause of a concrete type?
|
|
4
|
1611
|
July 17, 2023
|
Member 'select' cannot be used on value of type 'any LayerCollection'
|
|
6
|
851
|
June 25, 2023
|
Use specialized existential in class conforming to a protocol with associated types
|
|
7
|
659
|
January 11, 2023
|
Unexpected inferred associated type of existential
|
|
15
|
562
|
December 31, 2022
|
Inferred result type requires explicit coercion
|
|
3
|
1198
|
December 29, 2022
|
Is this a compiler bug?
|
|
4
|
791
|
December 6, 2022
|
Why 'any' needed when associated type known
|
|
3
|
1036
|
November 17, 2022
|
A compilation error with associated type
|
|
1
|
1066
|
November 14, 2022
|
Infer associated type on protocol conformance
|
|
3
|
866
|
November 1, 2022
|
Associated type inference doesn't work in a situation that I assumed it would
|
|
1
|
497
|
October 27, 2022
|
Catch an error based on its protocol's associated type?
|
|
5
|
603
|
October 22, 2022
|
Swift 5.7 compiler bug? Known limitation? My mistake?
|
|
6
|
979
|
September 12, 2022
|
More problems with Swift's type system
|
|
5
|
768
|
September 11, 2022
|
Abort trap 6/nonzero exit code
|
|
1
|
942
|
September 9, 2022
|
Compiler Crash on nested associatedtype (swiftlang-5.7.0.123.8 - XCode 14-Beta6)
|
|
1
|
703
|
September 1, 2022
|
Understanding how to work with View as a type
|
|
4
|
2292
|
August 26, 2022
|
Existential associated types
|
|
22
|
1721
|
August 11, 2022
|
[SomeProtocol] with associated type works as [Any] - Why?
|
|
5
|
2202
|
July 22, 2022
|
`associatedtype` and `typealias-assignment`
|
|
2
|
1173
|
June 17, 2022
|
How to type-erase a Swift PAT that exposes an `init`?
|
|
3
|
690
|
March 25, 2022
|
Is this additional type requirement needed?
|
|
3
|
818
|
March 2, 2022
|
Protocol's `associatedtype` vs. Generics
|
|
0
|
1114
|
February 3, 2022
|
Class that conforms to protocol with generic function returning associatedtype does not compile
|
|
4
|
2112
|
September 30, 2021
|