[ModuleInterfaces] Replace 'module file' with 'compiled module'

...only in diagnostics. And make the tests pass.

rdar://49359734
This commit is contained in:
Harlan Haskins
2019-04-11 17:31:06 -07:00
parent 6d72977642
commit 150ad99457
13 changed files with 16 additions and 16 deletions

View File

@@ -69,7 +69,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
// BAD-MODULE: [[@LINE-2]]:8: error: malformed compiled module: {{.*}}Lib.swiftmodule
struct X {}
let _: X = Lib.testValue