@@ -5953,7 +5953,7 @@ \subsubsection{Correct Member Overrides}
5953
5953
\item
5954
5954
If $m$ and $m'$ are both methods or both setters:
5955
5955
Let $F$ be the function type of $m$
5956
- except that the parameter type is the built-in class \code{Object}
5956
+ except that the parameter type is \code{Object? }
5957
5957
for each parameter of $m$ which is covariant-by-declaration
5958
5958
(\ref{covariantParameters}).
5959
5959
Let $F'$ be the function type of $m'$.
@@ -7963,7 +7963,7 @@ \subsection{Super-Bounded Types}
7963
7963
\end{dartCode}
7964
7964
7965
7965
\commentary{%
7966
- With this, \code{a.x} has static type \code{Object},
7966
+ With this, \code{a.x} has static type \code{Object? },
7967
7967
even though the upper bound on the type variable \code{X} is \code{num}.%
7968
7968
}
7969
7969
@@ -7990,7 +7990,7 @@ \subsection{Super-Bounded Types}
7990
7990
(noting that all types must be regular-bounded
7991
7991
when we do not have the notion of super-bounded types).
7992
7992
So if we wish to allow a variable to hold any instance ``of type \code{C}''
7993
- then that variable must use \code{Object} or another top type
7993
+ then that variable must use \code{Object? } or another top type
7994
7994
as its type annotation,
7995
7995
which means that a member like \code{next} is not known to exist
7996
7996
(which is what we mean by saying that the type is `less informative').%
@@ -15220,7 +15220,7 @@ \subsubsection{Superinvocations}
15220
15220
It is a \Error{compile-time error} if a method superinvocation occurs
15221
15221
in a top-level function or variable initializer,
15222
15222
in an instance variable initializer or initializer list,
15223
- in class \code{Object},
15223
+ in the built-in class \code{Object},
15224
15224
in a factory constructor,
15225
15225
or in a static method or variable initializer.
15226
15226
0 commit comments