mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Since validateDecl() never calls back into typeCheckDecl(), I think it's safe to call validateDecl() from circularity checking.
6 lines
126 B
Swift
6 lines
126 B
Swift
struct External {
|
|
var member: Something // expected-error {{use of undeclared type 'Something'}}
|
|
}
|
|
|
|
struct OtherExternal {}
|