Skip to content

Commit 9a65222

Browse files
committed
Sync with specify_null_safety_new_sections_dec21
1 parent 8e2d56b commit 9a65222

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
@@ -24209,13 +24209,13 @@ \subsubsection{The Standard Upper Bound of Distinct Interface Types}
2420924209

2421024210
\LMHash{}%
2421124211
We define the auxiliary function \NominalTypeDepthName{}
24212-
on interface types and \code{Object?} as follows:
24212+
on interface types as follows:
2421324213

2421424214
\begin{itemize}
2421524215
\item
24216-
\DefEquals{\NominalTypeDepth{Object?}}{0}.
24217-
\item
24218-
\DefEquals{\NominalTypeDepth{Object}}{1}.
24216+
% We could make it 1 rather than 0, to "reserve space" for `Object?`,
24217+
% but this function is never used with `Object?` anyway.
24218+
\DefEquals{\NominalTypeDepth{Object}}{0}.
2421924219
\item
2422024220
Let $T$ be a class or a mixin,
2422124221
and let $M$ be the set of immediate superinterfaces of $T$.
@@ -24625,7 +24625,7 @@ \subsection{Interface Types}
2462524625
any function type, any type variable, any intersection type,
2462624626
and any type of the form \code{$T$?}.
2462724627

24628-
Conversely, built-in classes like
24628+
Conversely, built-in classes like, e.g.,
2462924629
\code{Object}, \code{num}, \code{int}, \code{String}, and \code{Exception}
2463024630
are interface types,
2463124631
and so are

0 commit comments

Comments
 (0)