mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
`init` calls to redeclared types would end up diagnosed as ambiguity, so locator simplification needs to account for the fact that "base" of constructor might be overloaded type reference. Resolves: rdar://84879566
12 lines
207 B
Swift
12 lines
207 B
Swift
struct MyView: Tupled { // expected-note {{found this candidate}}
|
|
var tuple: some Any {
|
|
""
|
|
}
|
|
}
|
|
|
|
struct MyView: Tupled { // expected-note {{found this candidate}}
|
|
var tuple: some Any {
|
|
""
|
|
}
|
|
}
|