Fix an inconsistency in terminolgy in the documentation

Change-Id: If3e7d74af72c4d3c4e533d2c3dcd880c4f2b5bf1
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/213622
Auto-Submit: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
This commit is contained in:
Brian Wilkerson 2021-09-16 17:10:35 +00:00 committed by commit-bot@chromium.org
parent be58178acf
commit 9605ca2980
2 changed files with 2 additions and 2 deletions

View file

@ -15340,7 +15340,7 @@ class StaticWarningCode extends AnalyzerErrorCode {
// #### Description
//
// The analyzer produces this diagnostic when a null-aware operator (`?.`,
// `?..`, `?[`, `?..[`, or `...?`) is used on a target that's known to be
// `?..`, `?[`, `?..[`, or `...?`) is used on a receiver that's known to be
// non-nullable.
//
// #### Example

View file

@ -6761,7 +6761,7 @@ _The receiver can't be null, so the null-aware operator '{0}' is unnecessary._
#### Description
The analyzer produces this diagnostic when a null-aware operator (`?.`,
`?..`, `?[`, `?..[`, or `...?`) is used on a target that's known to be
`?..`, `?[`, `?..[`, or `...?`) is used on a receiver that's known to be
non-nullable.
#### Example