mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Fix the Serialization/version-mismatches.swift Swift version
This commit is contained in:
@@ -12,7 +12,7 @@ import Library
|
||||
// TOO-NEW: :[[@LINE-2]]:8: error: compiled module was created by a newer version of the compiler: {{.*}}too-new/Library.swiftmodule{{$}}
|
||||
|
||||
// Update this line when the compiler version changes.
|
||||
// LANGUAGE: :[[@LINE-5]]:8: error: module compiled with Swift X.Y cannot be imported by the Swift 5.{{.+}} compiler: {{.*}}too-{{old|new}}-language/Library.swiftmodule{{$}}
|
||||
// LANGUAGE: :[[@LINE-5]]:8: error: module compiled with Swift X.Y cannot be imported by the Swift 6.{{.+}} compiler: {{.*}}too-{{old|new}}-language/Library.swiftmodule{{$}}
|
||||
|
||||
// Compiler thinks that the module is empty in all cases.
|
||||
// CHECK: :[[@LINE+1]]:1: error: module 'Library' has no member named 'foo'
|
||||
|
||||
Reference in New Issue
Block a user