mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Import error now mentions the target, not the arch
This commit is contained in:
@@ -81,7 +81,7 @@
|
||||
import Lib
|
||||
// NO-SUCH-MODULE: [[@LINE-1]]:8: error: no such module 'Lib'
|
||||
// BAD-MODULE: [[@LINE-2]]:8: error: malformed module file: {{.*}}Lib.swiftmodule
|
||||
// WRONG-ARCH: [[@LINE-3]]:8: error: could not find module 'Lib' for architecture '[[ARCH]]'; found: garbage
|
||||
// WRONG-ARCH: [[@LINE-3]]:8: error: could not find module 'Lib' for target '[[ARCH]]'; found: garbage
|
||||
|
||||
struct X {}
|
||||
let _: X = Lib.testValue
|
||||
|
||||
Reference in New Issue
Block a user