You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -55,7 +55,7 @@ final class TripleExecutor: SerialExecutor {
55
55
56
56
// expected-warning@+2{{'Job' is deprecated: renamed to 'ExecutorJob'}}
57
57
// expected-note@+1{{use 'ExecutorJob' instead}}
58
-
func enqueue(_ job:__owned Job){} // expected-warning{{'Executor.enqueue(Job)' is deprecated as a protocol requirement; conform type 'TripleExecutor' to 'Executor' by implementing 'func enqueue(ExecutorJob)' instead}}
58
+
func enqueue(_ job:__owned Job){} // expected-warning{{'Executor.enqueue(Job)' is deprecated as a protocol requirement; conform type 'TripleExecutor' to 'Executor' by implementing 'func enqueue(ExecutorJob)' instead [DeprecatedDeclaration]}}
@@ -41,7 +41,7 @@ final class TripleExecutor: SerialExecutor {
41
41
42
42
// expected-warning@+2{{'Job' is deprecated: renamed to 'ExecutorJob'}}
43
43
// expected-note@+1{{use 'ExecutorJob' instead}}
44
-
func enqueue(_ job:__owned Job){} // expected-warning{{'Executor.enqueue(Job)' is deprecated as a protocol requirement; conform type 'TripleExecutor' to 'Executor' by implementing 'func enqueue(ExecutorJob)' instead}}
44
+
func enqueue(_ job:__owned Job){} // expected-warning{{'Executor.enqueue(Job)' is deprecated as a protocol requirement; conform type 'TripleExecutor' to 'Executor' by implementing 'func enqueue(ExecutorJob)' instead [DeprecatedDeclaration]}}
45
45
46
46
func enqueue(_ job:consumingExecutorJob){}
47
47
@@ -65,7 +65,7 @@ final class NoneExecutor: SerialExecutor { // expected-error{{type 'NoneExecutor
65
65
finalclassStillDeprecated:SerialExecutor{
66
66
// expected-warning@+2{{'Job' is deprecated: renamed to 'ExecutorJob'}}
67
67
// expected-note@+1{{use 'ExecutorJob' instead}}
68
-
func enqueue(_ job:__owned Job){} // expected-warning{{'Executor.enqueue(Job)' is deprecated as a protocol requirement; conform type 'StillDeprecated' to 'Executor' by implementing 'func enqueue(ExecutorJob)' instead}}
68
+
func enqueue(_ job:__owned Job){} // expected-warning{{'Executor.enqueue(Job)' is deprecated as a protocol requirement; conform type 'StillDeprecated' to 'Executor' by implementing 'func enqueue(ExecutorJob)' instead [DeprecatedDeclaration]}}
let _:GCLD=.init(extendedGraphemeClusterLiteral:"π§π·") // expected-warning{{'init(extendedGraphemeClusterLiteral:)' is deprecated [availability_deprecated]}}
161
-
let _:GCLD="π§π·" // expected-warning{{'init(extendedGraphemeClusterLiteral:)' is deprecated [availability_deprecated]}}
160
+
let _:GCLD=.init(extendedGraphemeClusterLiteral:"π§π·") // expected-warning{{'init(extendedGraphemeClusterLiteral:)' is deprecated [DeprecatedDeclaration]}}
161
+
let _:GCLD="π§π·" // expected-warning{{'init(extendedGraphemeClusterLiteral:)' is deprecated [DeprecatedDeclaration]}}
0 commit comments