Skip to content

Commit 922920b

Browse files
committed
Sync with specify_null_safety_new_sections_dec21
1 parent 4cd141f commit 922920b

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

2407224072
\LMHash{}%
2407324073
We define the auxiliary function \NominalTypeDepthName{}
24074-
on interface types and \code{Object?} as follows:
24074+
on interface types as follows:
2407524075

2407624076
\begin{itemize}
2407724077
\item
24078-
\DefEquals{\NominalTypeDepth{Object?}}{0}.
24079-
\item
24080-
\DefEquals{\NominalTypeDepth{Object}}{1}.
24078+
% We could make it 1 rather than 0, to "reserve space" for `Object?`,
24079+
% but this function is never used with `Object?` anyway.
24080+
\DefEquals{\NominalTypeDepth{Object}}{0}.
2408124081
\item
2408224082
Let $T$ be a class or a mixin,
2408324083
and let $M$ be the set of immediate superinterfaces of $T$.
@@ -24487,7 +24487,7 @@ \subsection{Interface Types}
2448724487
any function type, any type variable, any intersection type,
2448824488
and any type of the form \code{$T$?}.
2448924489

24490-
Conversely, built-in classes like
24490+
Conversely, built-in classes like, e.g.,
2449124491
\code{Object}, \code{num}, \code{int}, \code{String}, and \code{Exception}
2449224492
are interface types,
2449324493
and so are

0 commit comments

Comments
 (0)