File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -3971,8 +3971,8 @@ class CompileTimeErrorCode extends DiagnosticCode {
39713971 static const CompileTimeErrorCode
39723972 NON_EXHAUSTIVE_SWITCH_EXPRESSION = CompileTimeErrorCode (
39733973 'NON_EXHAUSTIVE_SWITCH_EXPRESSION' ,
3974- "The type '{0}' is not exhaustively matched by the switch cases since it "
3975- "doesn't match '{1}'." ,
3974+ "The type '{0}' isn't exhaustively matched by the switch cases since it "
3975+ "doesn't match the pattern '{1}'." ,
39763976 correctionMessage:
39773977 "Try adding a wildcard pattern or cases that match '{2}'." ,
39783978 hasPublishedDocs: true ,
@@ -3985,8 +3985,8 @@ class CompileTimeErrorCode extends DiagnosticCode {
39853985 static const CompileTimeErrorCode
39863986 NON_EXHAUSTIVE_SWITCH_STATEMENT = CompileTimeErrorCode (
39873987 'NON_EXHAUSTIVE_SWITCH_STATEMENT' ,
3988- "The type '{0}' is not exhaustively matched by the switch cases since it "
3989- "doesn't match '{1}'." ,
3988+ "The type '{0}' isn't exhaustively matched by the switch cases since it "
3989+ "doesn't match the pattern '{1}'." ,
39903990 correctionMessage: "Try adding a default case or cases that match '{2}'." ,
39913991 hasPublishedDocs: true ,
39923992 );
Original file line number Diff line number Diff line change @@ -11873,7 +11873,7 @@ CompileTimeErrorCode:
1187311873 extension type A(void Function(String) f) {}
1187411874 ```
1187511875 NON_EXHAUSTIVE_SWITCH_EXPRESSION:
11876- problemMessage: "The type '{0}' is not exhaustively matched by the switch cases since it doesn't match '{1}'."
11876+ problemMessage: "The type '{0}' isn't exhaustively matched by the switch cases since it doesn't match the pattern '{1}'."
1187711877 correctionMessage: "Try adding a wildcard pattern or cases that match '{2}'."
1187811878 hasPublishedDocs: true
1187911879 comment: |-
@@ -11934,7 +11934,7 @@ CompileTimeErrorCode:
1193411934 in the future. You will lose the ability to have the compiler warn you if
1193511935 the `switch` needs to be updated to account for newly added types.
1193611936 NON_EXHAUSTIVE_SWITCH_STATEMENT:
11937- problemMessage: "The type '{0}' is not exhaustively matched by the switch cases since it doesn't match '{1}'."
11937+ problemMessage: "The type '{0}' isn't exhaustively matched by the switch cases since it doesn't match the pattern '{1}'."
1193811938 correctionMessage: "Try adding a default case or cases that match '{2}'."
1193911939 hasPublishedDocs: true
1194011940 comment: |-
@@ -18992,7 +18992,7 @@ FfiCode:
1899218992 external void leafCall(Pointer<Uint8> ptr);
1899318993
1899418994 void main() {
18995- final data = Uint8List(10);
18995+ final data = Uint8List(10);
1899618996
1899718997 // Correct: Using .address directly as an argument to a leaf call.
1899818998 leafCall(data.address);
You can’t perform that action at this time.
0 commit comments