@@ -3216,7 +3216,7 @@ \subsubsection{The Method \code{noSuchMethod}}
32163216in order to correctly override \code{noSuchMethod} in \code{Object}.
32173217For instance, it can have signature
32183218\code{noSuchMethod(Invocation i)} or
3219- \code{noSuchMethod(Object i, [String s])},
3219+ \code{noSuchMethod(Object i, [String? s])},
32203220but not
32213221\code{noSuchMethod(Invocation i, String s)}.
32223222This implies that the situation where \code{noSuchMethod} is invoked
@@ -3962,7 +3962,7 @@ \subsubsection{Generative Constructors}
39623962
39633963\begin{dartCode}
39643964class A \{
3965- int x;
3965+ int? x;
39663966 A([this.x]);
39673967\}
39683968\end{dartCode}
@@ -3973,8 +3973,8 @@ \subsubsection{Generative Constructors}
39733973
39743974\begin{dartCode}
39753975class A \{
3976- int x;
3977- A([int x]): this.x = x;
3976+ int? x;
3977+ A([int? x]): this.x = x;
39783978\}
39793979\end{dartCode}
39803980
@@ -15307,7 +15307,7 @@ \subsubsection{Generic Method Instantiation}
1530715307\}
1530815308\\
1530915309\CLASS{} B \EXTENDS{} /*\,or\,\,\IMPLEMENTS\,*/ A \{
15310- X fi<X \EXTENDS{} num>(X x, [List<X> xs]) => x;
15310+ X fi<X \EXTENDS{} num>(X x, [List<X>? xs]) => x;
1531115311\}
1531215312\\
1531315313\VOID{} main() \{
@@ -15319,7 +15319,7 @@ \subsubsection{Generic Method Instantiation}
1531915319\commentary{%
1532015320\noindent
1532115321The function object that \code{f} is bound to at the end of \code{main}
15322- has dynamic type \code{int\,\,\FUNCTION(int,\,[List<int>])},
15322+ has dynamic type \code{int\,\,\FUNCTION(int,\,[List<int>? ])},
1532315323and it is obtained by implicitly
1532415324``passing the actual type argument \code{int}''
1532515325to the denoted generic instance method,
0 commit comments