Files
swift-mirror/validation-test/Sema/Inputs/rdar84879566_invalid_decls.swift
Pavel Yaskevich 609841710f [ConstraintLocator] Allow simplification of constructor member with overloaded base
`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
2021-11-05 16:44:07 -07:00

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 {
""
}
}