mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
SILGen: Don't ask for context substitution map of existential
This commit is contained in:
@@ -677,3 +677,12 @@ func test_optional_chaining_with_function_conversion() {
|
||||
_ = data.compactMap(\.elements!.db)
|
||||
}
|
||||
}
|
||||
|
||||
protocol HasAlias {
|
||||
var id: Self.ID { get }
|
||||
typealias ID = Int
|
||||
}
|
||||
|
||||
func testHasAlias() {
|
||||
_ = \HasAlias.id
|
||||
}
|
||||
Reference in New Issue
Block a user