mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Ignore unresolved imports in @_implementationOnly consistency checking (#26255)
Unresolved imports all have the "same" ModuleDecl: nullptr. But that's not really an inconsistency, and even if there *is* a true inconsistency among unresolved imports, it can be dealt with when the developer fixes their search paths. (Or the imports. Whichever is wrong.) rdar://problem/52943397
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
// Just check that we don't crash (rdar://problem/52943397)
|
||||
|
||||
// RUN: not %target-swift-frontend -typecheck %s
|
||||
// RUN: not %target-swift-frontend -typecheck -show-diagnostics-after-fatal %s
|
||||
|
||||
@_implementationOnly import Swift
|
||||
import ThisModuleDoesNotExist
|
||||
@_implementationOnly import ThisModuleDoesNotExist
|
||||
@_implementationOnly import NeitherDoesThisOne
|
||||
Reference in New Issue
Block a user