Skip to content

Commit 44f41ad

Browse files
committed
Typos
1 parent ec7fee4 commit 44f41ad

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
@@ -15134,7 +15134,8 @@ \subsubsection{Cascades}
1513415134
Consider an expression of the form \code{$e$?..$s$} where
1513515135
$e$ is a \synt{conditionalExpression} and
1513615136
$s$ is a \synt{cascadeSection}.
15137-
A warning occurs unless the static type of $e$ is potentially nullable.
15137+
A warning occurs if the static type of $e$ is non-nullable
15138+
(\ref{typeNullability}).
1513815139

1513915140
\LMHash{}%
1514015141
Otherwise, the static analysis and dynamic semantics of
@@ -20940,7 +20941,7 @@ \subsection{Assert}
2094020941
\begin{grammar}
2094120942
<assertStatement> ::= <assertion> `;'
2094220943

20943-
<assertion> ::= \ASSERT{} `(' <expression> (`,' <expression> )? `,'? `)'
20944+
<assertion> ::= \ASSERT{} `(' <expression> (`,' <expression>)? `,'? `)'
2094420945
\end{grammar}
2094520946

2094620947
\LMHash{}%
@@ -21046,6 +21047,9 @@ \section{Libraries and Scripts}
2104621047

2104721048
\LMHash{}%
2104821049
A library contains a string which is derived from \synt{libraryDeclaration}.
21050+
It ends in the pseudo-token
21051+
\IndexCustom{\synt{EOF}}{<EOF>@\synt{EOF}},
21052+
which denotes the end of the input.
2104921053

2105021054
\commentary{%
2105121055
We could say that \synt{libraryDeclaration} is a

0 commit comments

Comments
 (0)