Skip to content

Commit caefb79

Browse files
committed
Sync with specify_null_safety_new_sections_dec21
1 parent 12ed4f3 commit caefb79

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

2437324373
\LMHash{}%
2437424374
We define the auxiliary function \NominalTypeDepthName{}
24375-
on interface types and \code{Object?} as follows:
24375+
on interface types as follows:
2437624376

2437724377
\begin{itemize}
2437824378
\item
24379-
\DefEquals{\NominalTypeDepth{Object?}}{0}.
24380-
\item
24381-
\DefEquals{\NominalTypeDepth{Object}}{1}.
24379+
% We could make it 1 rather than 0, to "reserve space" for `Object?`,
24380+
% but this function is never used with `Object?` anyway.
24381+
\DefEquals{\NominalTypeDepth{Object}}{0}.
2438224382
\item
2438324383
Let $T$ be a class or a mixin,
2438424384
and let $M$ be the set of immediate superinterfaces of $T$.
@@ -24788,7 +24788,7 @@ \subsection{Interface Types}
2478824788
any function type, any type variable, any intersection type,
2478924789
and any type of the form \code{$T$?}.
2479024790

24791-
Conversely, built-in classes like
24791+
Conversely, built-in classes like, e.g.,
2479224792
\code{Object}, \code{num}, \code{int}, \code{String}, and \code{Exception}
2479324793
are interface types,
2479424794
and so are

0 commit comments

Comments
 (0)