mirror of
https://github.com/dart-lang/sdk
synced 2024-09-05 16:41:07 +00:00
Minor grammar and consistency fixes
Change-Id: I7123d1b11efe4275467617fb8602eb9d9d52956f Reviewed-on: https://dart-review.googlesource.com/c/88290 Reviewed-by: Lasse R.H. Nielsen <lrn@google.com> Commit-Queue: Paul Berry <paulberry@google.com>
This commit is contained in:
parent
5e808aa048
commit
5ed1c6132a
|
@ -6507,10 +6507,9 @@ A \IndexCustom{map literal}{literal!map} denotes a map object.
|
|||
\end{grammar}
|
||||
|
||||
\LMHash{}%
|
||||
A \synt{setOrMapLiteral} $e$ is either set literal (\ref {sets}) or a map literal,
|
||||
A \synt{setOrMapLiteral} $e$ is either a set literal (\ref {sets}) or a map literal,
|
||||
determined by the type parameters or static context type.
|
||||
If the literal expression has exactly one type argument,
|
||||
then $e$ is a set literal.
|
||||
If $e$ has exactly one type argument, then it is a set literal.
|
||||
If $e$ has two type arguments, then it is a map literal.
|
||||
If $e$ has three or more type arguments, it is a compile-time error.
|
||||
If $e$ has \emph{no} type arguments,
|
||||
|
|
Loading…
Reference in a new issue