From a19021d8da46a83e2f38ba50945e8c9fc6ff19ce Mon Sep 17 00:00:00 2001 From: Mishal Shah Date: Tue, 20 Feb 2024 14:30:12 -0800 Subject: [PATCH] Fix the Serialization/version-mismatches.swift Swift version --- test/Serialization/version-mismatches.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Serialization/version-mismatches.swift b/test/Serialization/version-mismatches.swift index ee15783a48a..26db4d9c0b3 100644 --- a/test/Serialization/version-mismatches.swift +++ b/test/Serialization/version-mismatches.swift @@ -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'