Skip to content

Commit 5b5afa7

Browse files
committed
Typos
1 parent 7eed8e7 commit 5b5afa7

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

specification/dartLangSpec.tex

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14506,7 +14506,8 @@ \subsubsection{Cascades}
1450614506
Consider an expression of the form \code{$e$?..$s$} where
1450714507
$e$ is a \synt{conditionalExpression} and
1450814508
$s$ is a \synt{cascadeSection}.
14509-
A warning occurs unless the static type of $e$ is potentially nullable.
14509+
A warning occurs if the static type of $e$ is non-nullable
14510+
(\ref{typeNullability}).
1451014511

1451114512
\LMHash{}%
1451214513
Otherwise, the static analysis and dynamic semantics of
@@ -20085,7 +20086,7 @@ \subsection{Assert}
2008520086
\begin{grammar}
2008620087
<assertStatement> ::= <assertion> `;'
2008720088

20088-
<assertion> ::= \ASSERT{} `(' <expression> (`,' <expression> )? `,'? `)'
20089+
<assertion> ::= \ASSERT{} `(' <expression> (`,' <expression>)? `,'? `)'
2008920090
\end{grammar}
2009020091

2009120092
\LMHash{}%
@@ -20191,6 +20192,9 @@ \section{Libraries and Scripts}
2019120192

2019220193
\LMHash{}%
2019320194
A library contains a string which is derived from \synt{libraryDeclaration}.
20195+
It ends in the pseudo-token
20196+
\IndexCustom{\synt{EOF}}{<EOF>@\synt{EOF}},
20197+
which denotes the end of the input.
2019420198

2019520199
\commentary{%
2019620200
We could say that \synt{libraryDeclaration} is a

0 commit comments

Comments
 (0)