Files
swift-mirror/test/Sema/Inputs/circularity_multifile_error_helper.swift
Slava Pestov 7eb131eba9 Sema: Remove TypeChecker::DelayedCircularityChecks
Since validateDecl() never calls back into typeCheckDecl(), I think
it's safe to call validateDecl() from circularity checking.
2019-07-16 14:26:54 -04:00

6 lines
126 B
Swift

struct External {
var member: Something // expected-error {{use of undeclared type 'Something'}}
}
struct OtherExternal {}