Skip to content

Commit a93ee53

Browse files
committed
Typos
1 parent 60ef43a commit a93ee53

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
@@ -14594,7 +14594,8 @@ \subsubsection{Cascades}
1459414594
Consider an expression of the form \code{$e$?..$s$} where
1459514595
$e$ is a \synt{conditionalExpression} and
1459614596
$s$ is a \synt{cascadeSection}.
14597-
A warning occurs unless the static type of $e$ is potentially nullable.
14597+
A warning occurs if the static type of $e$ is non-nullable
14598+
(\ref{typeNullability}).
1459814599

1459914600
\LMHash{}%
1460014601
Otherwise, the static analysis and dynamic semantics of
@@ -20214,7 +20215,7 @@ \subsection{Assert}
2021420215
\begin{grammar}
2021520216
<assertStatement> ::= <assertion> `;'
2021620217

20217-
<assertion> ::= \ASSERT{} `(' <expression> (`,' <expression> )? `,'? `)'
20218+
<assertion> ::= \ASSERT{} `(' <expression> (`,' <expression>)? `,'? `)'
2021820219
\end{grammar}
2021920220

2022020221
\LMHash{}%
@@ -20320,6 +20321,9 @@ \section{Libraries and Scripts}
2032020321

2032120322
\LMHash{}%
2032220323
A library contains a string which is derived from \synt{libraryDeclaration}.
20324+
It ends in the pseudo-token
20325+
\IndexCustom{\synt{EOF}}{<EOF>@\synt{EOF}},
20326+
which denotes the end of the input.
2032320327

2032420328
\commentary{%
2032520329
We could say that \synt{libraryDeclaration} is a

0 commit comments

Comments
 (0)