mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
I thought it would be useful to allow some uses of a module to be '@_implementationOnly' and others to not be in case someone wanted to change from one to the other gradually, but it turns out that if you're trying to /make/ an import implementation-only, you want to know everywhere you used it. rdar://problem/50748157
7 lines
234 B
Swift
7 lines
234 B
Swift
import A
|
|
import B.B3
|
|
import D
|
|
|
|
import NotSoSecret // expected-warning {{'NotSoSecret' inconsistently imported as implementation-only}}
|
|
@_implementationOnly import NotSoSecret2 // expected-note {{imported as implementation-only here}}
|