Skip to content

Commit b0852ab

Browse files
committed
Typos
1 parent 721aac3 commit b0852ab

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
@@ -14548,7 +14548,8 @@ \subsubsection{Cascades}
1454814548
Consider an expression of the form \code{$e$?..$s$} where
1454914549
$e$ is a \synt{conditionalExpression} and
1455014550
$s$ is a \synt{cascadeSection}.
14551-
A warning occurs unless the static type of $e$ is potentially nullable.
14551+
A warning occurs if the static type of $e$ is non-nullable
14552+
(\ref{typeNullability}).
1455214553

1455314554
\LMHash{}%
1455414555
Otherwise, the static analysis and dynamic semantics of
@@ -20148,7 +20149,7 @@ \subsection{Assert}
2014820149
\begin{grammar}
2014920150
<assertStatement> ::= <assertion> `;'
2015020151

20151-
<assertion> ::= \ASSERT{} `(' <expression> (`,' <expression> )? `,'? `)'
20152+
<assertion> ::= \ASSERT{} `(' <expression> (`,' <expression>)? `,'? `)'
2015220153
\end{grammar}
2015320154

2015420155
\LMHash{}%
@@ -20254,6 +20255,9 @@ \section{Libraries and Scripts}
2025420255

2025520256
\LMHash{}%
2025620257
A library contains a string which is derived from \synt{libraryDeclaration}.
20258+
It ends in the pseudo-token
20259+
\IndexCustom{\synt{EOF}}{<EOF>@\synt{EOF}},
20260+
which denotes the end of the input.
2025720261

2025820262
\commentary{%
2025920263
We could say that \synt{libraryDeclaration} is a

0 commit comments

Comments
 (0)