Skip to content

Commit c2fb894

Browse files
committed
Typos
1 parent c0ca439 commit c2fb894

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
@@ -14441,7 +14441,8 @@ \subsubsection{Cascades}
1444114441
Consider an expression of the form \code{$e$?..$s$} where
1444214442
$e$ is a \synt{conditionalExpression} and
1444314443
$s$ is a \synt{cascadeSection}.
14444-
A warning occurs unless the static type of $e$ is potentially nullable.
14444+
A warning occurs if the static type of $e$ is non-nullable
14445+
(\ref{typeNullability}).
1444514446

1444614447
\LMHash{}%
1444714448
Otherwise, the static analysis and dynamic semantics of
@@ -19996,7 +19997,7 @@ \subsection{Assert}
1999619997
\begin{grammar}
1999719998
<assertStatement> ::= <assertion> `;'
1999819999

19999-
<assertion> ::= \ASSERT{} `(' <expression> (`,' <expression> )? `,'? `)'
20000+
<assertion> ::= \ASSERT{} `(' <expression> (`,' <expression>)? `,'? `)'
2000020001
\end{grammar}
2000120002

2000220003
\LMHash{}%
@@ -20102,6 +20103,9 @@ \section{Libraries and Scripts}
2010220103

2010320104
\LMHash{}%
2010420105
A library contains a string which is derived from \synt{libraryDeclaration}.
20106+
It ends in the pseudo-token
20107+
\IndexCustom{\synt{EOF}}{<EOF>@\synt{EOF}},
20108+
which denotes the end of the input.
2010520109

2010620110
\commentary{%
2010720111
We could say that \synt{libraryDeclaration} is a

0 commit comments

Comments
 (0)