Skip to content

Commit fd4612b

Browse files
committed
Sync with specify_null_safety_new_sections_dec21
1 parent 2b994c2 commit fd4612b

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

2482624826
\LMHash{}%
2482724827
We define the auxiliary function \NominalTypeDepthName{}
24828-
on interface types and \code{Object?} as follows:
24828+
on interface types as follows:
2482924829

2483024830
\begin{itemize}
2483124831
\item
24832-
\DefEquals{\NominalTypeDepth{Object?}}{0}.
24833-
\item
24834-
\DefEquals{\NominalTypeDepth{Object}}{1}.
24832+
% We could make it 1 rather than 0, to "reserve space" for `Object?`,
24833+
% but this function is never used with `Object?` anyway.
24834+
\DefEquals{\NominalTypeDepth{Object}}{0}.
2483524835
\item
2483624836
Let $T$ be a class or a mixin,
2483724837
and let $M$ be the set of immediate superinterfaces of $T$.
@@ -25242,7 +25242,7 @@ \subsection{Interface Types}
2524225242
any function type, any type variable, any intersection type,
2524325243
and any type of the form \code{$T$?}.
2524425244

25245-
Conversely, built-in classes like
25245+
Conversely, built-in classes like, e.g.,
2524625246
\code{Object}, \code{num}, \code{int}, \code{String}, and \code{Exception}
2524725247
are interface types,
2524825248
and so are

0 commit comments

Comments
 (0)