mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 03:17:55 +00:00
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:
parent
be58178acf
commit
9605ca2980
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue