mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
The second type of WitnessMarker for deserialized GenericSignature is null. But the second type for parsed GenericSignature is not null, causing type mismatch error when linking a SILFunction. This commit ignores the second type of WitnessMarker when profiling the GenericSignature. rdar://17998988 Swift SVN r21178
7 lines
118 B
Swift
7 lines
118 B
Swift
class A<T> {
|
|
typealias Element = T
|
|
func convertFromArrayLiteral(elements: Element...) -> A {
|
|
return A()
|
|
}
|
|
}
|