Skip to content

Commit 87fdc7a

Browse files
committed
Typos
1 parent f691124 commit 87fdc7a

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
@@ -14508,7 +14508,8 @@ \subsubsection{Cascades}
1450814508
Consider an expression of the form \code{$e$?..$s$} where
1450914509
$e$ is a \synt{conditionalExpression} and
1451014510
$s$ is a \synt{cascadeSection}.
14511-
A warning occurs unless the static type of $e$ is potentially nullable.
14511+
A warning occurs if the static type of $e$ is non-nullable
14512+
(\ref{typeNullability}).
1451214513

1451314514
\LMHash{}%
1451414515
Otherwise, the static analysis and dynamic semantics of
@@ -20087,7 +20088,7 @@ \subsection{Assert}
2008720088
\begin{grammar}
2008820089
<assertStatement> ::= <assertion> `;'
2008920090

20090-
<assertion> ::= \ASSERT{} `(' <expression> (`,' <expression> )? `,'? `)'
20091+
<assertion> ::= \ASSERT{} `(' <expression> (`,' <expression>)? `,'? `)'
2009120092
\end{grammar}
2009220093

2009320094
\LMHash{}%
@@ -20193,6 +20194,9 @@ \section{Libraries and Scripts}
2019320194

2019420195
\LMHash{}%
2019520196
A library contains a string which is derived from \synt{libraryDeclaration}.
20197+
It ends in the pseudo-token
20198+
\IndexCustom{\synt{EOF}}{<EOF>@\synt{EOF}},
20199+
which denotes the end of the input.
2019620200

2019720201
\commentary{%
2019820202
We could say that \synt{libraryDeclaration} is a

0 commit comments

Comments
 (0)