@@ -5851,7 +5851,7 @@ \subsubsection{Correct Member Overrides}
5851
5851
\item
5852
5852
If $m$ and $m'$ are both methods or both setters:
5853
5853
Let $F$ be the function type of $m$
5854
- except that the parameter type is the built-in class \code{Object}
5854
+ except that the parameter type is \code{Object? }
5855
5855
for each parameter of $m$ which is covariant-by-declaration
5856
5856
(\ref{covariantParameters}).
5857
5857
Let $F'$ be the function type of $m'$.
@@ -7841,7 +7841,7 @@ \subsection{Super-Bounded Types}
7841
7841
\end{dartCode}
7842
7842
7843
7843
\commentary{%
7844
- With this, \code{a.x} has static type \code{Object},
7844
+ With this, \code{a.x} has static type \code{Object? },
7845
7845
even though the upper bound on the type variable \code{X} is \code{num}.%
7846
7846
}
7847
7847
@@ -7868,7 +7868,7 @@ \subsection{Super-Bounded Types}
7868
7868
(noting that all types must be regular-bounded
7869
7869
when we do not have the notion of super-bounded types).
7870
7870
So if we wish to allow a variable to hold any instance ``of type \code{C}''
7871
- then that variable must use \code{Object} or another top type
7871
+ then that variable must use \code{Object? } or another top type
7872
7872
as its type annotation,
7873
7873
which means that a member like \code{next} is not known to exist
7874
7874
(which is what we mean by saying that the type is `less informative').%
@@ -14928,7 +14928,7 @@ \subsubsection{Superinvocations}
14928
14928
It is a \Error{compile-time error} if a method superinvocation occurs
14929
14929
in a top-level function or variable initializer,
14930
14930
in an instance variable initializer or initializer list,
14931
- in class \code{Object},
14931
+ in the built-in class \code{Object},
14932
14932
in a factory constructor,
14933
14933
or in a static method or variable initializer.
14934
14934
0 commit comments