Skip to content

Commit b04f0a9

Browse files
committed
Typos
1 parent 203b1ea commit b04f0a9

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
@@ -14666,7 +14666,8 @@ \subsubsection{Cascades}
1466614666
Consider an expression of the form \code{$e$?..$s$} where
1466714667
$e$ is a \synt{conditionalExpression} and
1466814668
$s$ is a \synt{cascadeSection}.
14669-
A warning occurs unless the static type of $e$ is potentially nullable.
14669+
A warning occurs if the static type of $e$ is non-nullable
14670+
(\ref{typeNullability}).
1467014671

1467114672
\LMHash{}%
1467214673
Otherwise, the static analysis and dynamic semantics of
@@ -20336,7 +20337,7 @@ \subsection{Assert}
2033620337
\begin{grammar}
2033720338
<assertStatement> ::= <assertion> `;'
2033820339

20339-
<assertion> ::= \ASSERT{} `(' <expression> (`,' <expression> )? `,'? `)'
20340+
<assertion> ::= \ASSERT{} `(' <expression> (`,' <expression>)? `,'? `)'
2034020341
\end{grammar}
2034120342

2034220343
\LMHash{}%
@@ -20442,6 +20443,9 @@ \section{Libraries and Scripts}
2044220443

2044320444
\LMHash{}%
2044420445
A library contains a string which is derived from \synt{libraryDeclaration}.
20446+
It ends in the pseudo-token
20447+
\IndexCustom{\synt{EOF}}{<EOF>@\synt{EOF}},
20448+
which denotes the end of the input.
2044520449

2044620450
\commentary{%
2044720451
We could say that \synt{libraryDeclaration} is a

0 commit comments

Comments
 (0)