Skip to content

Commit e560870

Browse files
committed
Sync with specify_null_safety_new_sections_dec21
1 parent 171d5d4 commit e560870

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

2385423854
\LMHash{}%
2385523855
We define the auxiliary function \NominalTypeDepthName{}
23856-
on interface types and \code{Object?} as follows:
23856+
on interface types as follows:
2385723857

2385823858
\begin{itemize}
2385923859
\item
23860-
\DefEquals{\NominalTypeDepth{Object?}}{0}.
23861-
\item
23862-
\DefEquals{\NominalTypeDepth{Object}}{1}.
23860+
% We could make it 1 rather than 0, to "reserve space" for `Object?`,
23861+
% but this function is never used with `Object?` anyway.
23862+
\DefEquals{\NominalTypeDepth{Object}}{0}.
2386323863
\item
2386423864
Let $T$ be a class or a mixin,
2386523865
and let $M$ be the set of immediate superinterfaces of $T$.
@@ -24269,7 +24269,7 @@ \subsection{Interface Types}
2426924269
any function type, any type variable, any intersection type,
2427024270
and any type of the form \code{$T$?}.
2427124271

24272-
Conversely, built-in classes like
24272+
Conversely, built-in classes like, e.g.,
2427324273
\code{Object}, \code{num}, \code{int}, \code{String}, and \code{Exception}
2427424274
are interface types,
2427524275
and so are

0 commit comments

Comments
 (0)