Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 22b05db

Browse files
devoncarewcommit-bot@chromium.org
authored andcommitted
[analyzer] fix a grammar issue for invalid_null_aware_operator_after_short_circuit
Change-Id: I7c2548999757e3f8bc314426be7564165c3d9a33 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/156442 Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Commit-Queue: Devon Carew <devoncarew@google.com>
1 parent ca1279e commit 22b05db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/analyzer/lib/src/error/codes.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10445,7 +10445,7 @@ class StaticWarningCode extends AnalyzerErrorCode {
1044510445
'INVALID_NULL_AWARE_OPERATOR',
1044610446
"The target expression can't be null, so the null-aware operator "
1044710447
"'{0}' can't be used.",
10448-
correction: "Try replace the operator '{0}' with '{1}'.",
10448+
correction: "Try replacing the operator '{0}' with '{1}'.",
1044910449
hasPublishedDocs: true);
1045010450

1045110451
/**
@@ -10460,7 +10460,7 @@ class StaticWarningCode extends AnalyzerErrorCode {
1046010460
'INVALID_NULL_AWARE_OPERATOR_AFTER_SHORT_CIRCUIT',
1046110461
"The target expression can't be null because of short-circuiting, so "
1046210462
"the null-aware operator '{0}' can't be used.",
10463-
correction: "Try replace the operator '{0}' with '{1}'.",
10463+
correction: "Try replacing the operator '{0}' with '{1}'.",
1046410464
hasPublishedDocs: true);
1046510465

1046610466
/**

0 commit comments

Comments
 (0)