Skip to content

Commit ec0a4b8

Browse files
committed
Sync with specify_null_safety_new_sections_dec21
1 parent 6eae71e commit ec0a4b8

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

2400624006
\LMHash{}%
2400724007
We define the auxiliary function \NominalTypeDepthName{}
24008-
on interface types and \code{Object?} as follows:
24008+
on interface types as follows:
2400924009

2401024010
\begin{itemize}
2401124011
\item
24012-
\DefEquals{\NominalTypeDepth{Object?}}{0}.
24013-
\item
24014-
\DefEquals{\NominalTypeDepth{Object}}{1}.
24012+
% We could make it 1 rather than 0, to "reserve space" for `Object?`,
24013+
% but this function is never used with `Object?` anyway.
24014+
\DefEquals{\NominalTypeDepth{Object}}{0}.
2401524015
\item
2401624016
Let $T$ be a class or a mixin,
2401724017
and let $M$ be the set of immediate superinterfaces of $T$.
@@ -24421,7 +24421,7 @@ \subsection{Interface Types}
2442124421
any function type, any type variable, any intersection type,
2442224422
and any type of the form \code{$T$?}.
2442324423

24424-
Conversely, built-in classes like
24424+
Conversely, built-in classes like, e.g.,
2442524425
\code{Object}, \code{num}, \code{int}, \code{String}, and \code{Exception}
2442624426
are interface types,
2442724427
and so are

0 commit comments

Comments
 (0)