We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83bcf23 commit ba6c8afCopy full SHA for ba6c8af
test/Concurrency/transfernonsendable_functionsubtyping.swift
@@ -1,4 +1,4 @@
1
-// RUN: %target-swift-frontend -swift-version 6 -verify -c %s
+// RUN: %target-typecheck-verify-swift -swift-version 6 %s
2
3
// READ THIS! This file only contains tests that validate that the relevant
4
// function subtyping rules for sending work. Please do not put other tests in
@@ -103,3 +103,4 @@ struct FailToMatch4 : ProtocolWithMixedReqs { // expected-error {{}}
103
func nonSendingParamAndSendingResult(_ x: sending NonSendableKlass) -> sending NonSendableKlass { fatalError() }
104
// expected-note @-1 {{candidate has non-matching type '(sending NonSendableKlass) -> sending NonSendableKlass'}}
105
}
106
+
0 commit comments