Skip to content

Commit b580315

Browse files
committed
Typos
1 parent 1dbf378 commit b580315

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
@@ -14847,7 +14847,8 @@ \subsubsection{Cascades}
1484714847
Consider an expression of the form \code{$e$?..$s$} where
1484814848
$e$ is a \synt{conditionalExpression} and
1484914849
$s$ is a \synt{cascadeSection}.
14850-
A warning occurs unless the static type of $e$ is potentially nullable.
14850+
A warning occurs if the static type of $e$ is non-nullable
14851+
(\ref{typeNullability}).
1485114852

1485214853
\LMHash{}%
1485314854
Otherwise, the static analysis and dynamic semantics of
@@ -20522,7 +20523,7 @@ \subsection{Assert}
2052220523
\begin{grammar}
2052320524
<assertStatement> ::= <assertion> `;'
2052420525

20525-
<assertion> ::= \ASSERT{} `(' <expression> (`,' <expression> )? `,'? `)'
20526+
<assertion> ::= \ASSERT{} `(' <expression> (`,' <expression>)? `,'? `)'
2052620527
\end{grammar}
2052720528

2052820529
\LMHash{}%
@@ -20628,6 +20629,9 @@ \section{Libraries and Scripts}
2062820629

2062920630
\LMHash{}%
2063020631
A library contains a string which is derived from \synt{libraryDeclaration}.
20632+
It ends in the pseudo-token
20633+
\IndexCustom{\synt{EOF}}{<EOF>@\synt{EOF}},
20634+
which denotes the end of the input.
2063120635

2063220636
\commentary{%
2063320637
We could say that \synt{libraryDeclaration} is a

0 commit comments

Comments
 (0)