Skip to content

Commit 6c306e3

Browse files
committed
Update the SwiftStdlib version to 6.0 and fix Frontend/crash.swift test
1 parent b8cd763 commit 6c306e3

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

test/Distributed/Macros/distributed_macro_expansion_DistributedProtocol_inheritance.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,14 @@ protocol G3<ActorSystem>: DistributedActor, EmptyBase where ActorSystem: Distrib
4646

4747
// CHECK: extension G3 where Self: Distributed._DistributedActorStub {
4848
// CHECK: func get() -> String {
49-
// CHECK: if #available (SwiftStdlib 5.11, *) {
49+
// CHECK: if #available (SwiftStdlib 6.0, *) {
5050
// CHECK: Distributed._distributedStubFatalError()
5151
// CHECK: } else {
5252
// CHECK: fatalError()
5353
// CHECK: }
5454
// CHECK: }
5555
// CHECK: distributed func greet(name: String) -> String {
56-
// CHECK: if #available (SwiftStdlib 5.11, *) {
56+
// CHECK: if #available (SwiftStdlib 6.0, *) {
5757
// CHECK: Distributed._distributedStubFatalError()
5858
// CHECK: } else {
5959
// CHECK: fatalError()

test/Frontend/crash.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
// RUN: not --crash %target-swift-frontend -typecheck -debug-crash-after-parse -experimental-allow-module-with-compiler-errors -swift-version 5 %s 2>&1 | %FileCheck -check-prefix CHECK-CURRENT %s
2020
// CHECK-CURRENT: Program arguments: {{.*}} -experimental-allow-module-with-compiler-errors
21-
// CHECK-CURRENT: Compiling with the current language version while allowing modules with compiler errors
21+
// CHECK-CURRENT: Compiling with effective version {{.*}} while allowing modules with compiler errors
2222

2323
func anchor() {}
2424
anchor()

test/Runtime/demangleToMetadataTransferring.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class Klass {}
2121

2222
let DemangleToMetadataTests = TestSuite("DemangleToMetadata")
2323

24-
if #available(SwiftStdlib 5.11, *) {
24+
if #available(SwiftStdlib 6.0, *) {
2525
DemangleToMetadataTests.test("transferring parameter") {
2626
typealias Fn = (transferring Klass) -> Void
2727
expectEqual("y4main5KlassCnYuc", _mangledTypeName(Fn.self)!)

0 commit comments

Comments
 (0)