Skip to content

Commit b05bd3f

Browse files
committed
Typos
1 parent cd082b4 commit b05bd3f

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
@@ -14828,7 +14828,8 @@ \subsubsection{Cascades}
1482814828
Consider an expression of the form \code{$e$?..$s$} where
1482914829
$e$ is a \synt{conditionalExpression} and
1483014830
$s$ is a \synt{cascadeSection}.
14831-
A warning occurs unless the static type of $e$ is potentially nullable.
14831+
A warning occurs if the static type of $e$ is non-nullable
14832+
(\ref{typeNullability}).
1483214833

1483314834
\LMHash{}%
1483414835
Otherwise, the static analysis and dynamic semantics of
@@ -20499,7 +20500,7 @@ \subsection{Assert}
2049920500
\begin{grammar}
2050020501
<assertStatement> ::= <assertion> `;'
2050120502

20502-
<assertion> ::= \ASSERT{} `(' <expression> (`,' <expression> )? `,'? `)'
20503+
<assertion> ::= \ASSERT{} `(' <expression> (`,' <expression>)? `,'? `)'
2050320504
\end{grammar}
2050420505

2050520506
\LMHash{}%
@@ -20605,6 +20606,9 @@ \section{Libraries and Scripts}
2060520606

2060620607
\LMHash{}%
2060720608
A library contains a string which is derived from \synt{libraryDeclaration}.
20609+
It ends in the pseudo-token
20610+
\IndexCustom{\synt{EOF}}{<EOF>@\synt{EOF}},
20611+
which denotes the end of the input.
2060820612

2060920613
\commentary{%
2061020614
We could say that \synt{libraryDeclaration} is a

0 commit comments

Comments
 (0)