Skip to content

Commit 5d80033

Browse files
committed
Sync with specify_null_safety_new_sections_dec21
1 parent d6a207f commit 5d80033

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

specification/dartLangSpec.tex

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23944,13 +23944,13 @@ \subsubsection{The Standard Upper Bound of Distinct Interface Types}
2394423944

2394523945
\LMHash{}%
2394623946
We define the auxiliary function \NominalTypeDepthName{}
23947-
on interface types and \code{Object?} as follows:
23947+
on interface types as follows:
2394823948

2394923949
\begin{itemize}
2395023950
\item
23951-
\DefEquals{\NominalTypeDepth{Object?}}{0}.
23952-
\item
23953-
\DefEquals{\NominalTypeDepth{Object}}{1}.
23951+
% We could make it 1 rather than 0, to "reserve space" for `Object?`,
23952+
% but this function is never used with `Object?` anyway.
23953+
\DefEquals{\NominalTypeDepth{Object}}{0}.
2395423954
\item
2395523955
Let $T$ be a class or a mixin,
2395623956
and let $M$ be the set of immediate superinterfaces of $T$.
@@ -24360,7 +24360,7 @@ \subsection{Interface Types}
2436024360
any function type, any type variable, any intersection type,
2436124361
and any type of the form \code{$T$?}.
2436224362

24363-
Conversely, built-in classes like
24363+
Conversely, built-in classes like, e.g.,
2436424364
\code{Object}, \code{num}, \code{int}, \code{String}, and \code{Exception}
2436524365
are interface types,
2436624366
and so are

0 commit comments

Comments
 (0)