Skip to content

Commit 14312c8

Browse files
committed
Sync with specify_null_safety_new_sections_dec21
1 parent c28ce82 commit 14312c8

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

2439324393
\LMHash{}%
2439424394
We define the auxiliary function \NominalTypeDepthName{}
24395-
on interface types and \code{Object?} as follows:
24395+
on interface types as follows:
2439624396

2439724397
\begin{itemize}
2439824398
\item
24399-
\DefEquals{\NominalTypeDepth{Object?}}{0}.
24400-
\item
24401-
\DefEquals{\NominalTypeDepth{Object}}{1}.
24399+
% We could make it 1 rather than 0, to "reserve space" for `Object?`,
24400+
% but this function is never used with `Object?` anyway.
24401+
\DefEquals{\NominalTypeDepth{Object}}{0}.
2440224402
\item
2440324403
Let $T$ be a class or a mixin,
2440424404
and let $M$ be the set of immediate superinterfaces of $T$.
@@ -24808,7 +24808,7 @@ \subsection{Interface Types}
2480824808
any function type, any type variable, any intersection type,
2480924809
and any type of the form \code{$T$?}.
2481024810

24811-
Conversely, built-in classes like
24811+
Conversely, built-in classes like, e.g.,
2481224812
\code{Object}, \code{num}, \code{int}, \code{String}, and \code{Exception}
2481324813
are interface types,
2481424814
and so are

0 commit comments

Comments
 (0)