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:
Paul Berry 2019-01-04 13:22:43 +00:00 committed by commit-bot@chromium.org
parent 5e808aa048
commit 5ed1c6132a

View file

@ -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,