@@ -3229,7 +3229,7 @@ \subsubsection{The Method \code{noSuchMethod}}
32293229in order to correctly override \code{noSuchMethod} in \code{Object}.
32303230For instance, it can have signature
32313231\code{noSuchMethod(Invocation i)} or
3232- \code{noSuchMethod(Object i, [String s])},
3232+ \code{noSuchMethod(Object i, [String? s])},
32333233but not
32343234\code{noSuchMethod(Invocation i, String s)}.
32353235This implies that the situation where \code{noSuchMethod} is invoked
@@ -3975,7 +3975,7 @@ \subsubsection{Generative Constructors}
39753975
39763976\begin{dartCode}
39773977class A \{
3978- int x;
3978+ int? x;
39793979 A([this.x]);
39803980\}
39813981\end{dartCode}
@@ -3986,8 +3986,8 @@ \subsubsection{Generative Constructors}
39863986
39873987\begin{dartCode}
39883988class A \{
3989- int x;
3990- A([int x]): this.x = x;
3989+ int? x;
3990+ A([int? x]): this.x = x;
39913991\}
39923992\end{dartCode}
39933993
@@ -15352,7 +15352,7 @@ \subsubsection{Generic Method Instantiation}
1535215352\}
1535315353\\
1535415354\CLASS{} B \EXTENDS{} /*\,or\,\,\IMPLEMENTS\,*/ A \{
15355- X fi<X \EXTENDS{} num>(X x, [List<X> xs]) => x;
15355+ X fi<X \EXTENDS{} num>(X x, [List<X>? xs]) => x;
1535615356\}
1535715357\\
1535815358\VOID{} main() \{
@@ -15364,7 +15364,7 @@ \subsubsection{Generic Method Instantiation}
1536415364\commentary{%
1536515365\noindent
1536615366The function object that \code{f} is bound to at the end of \code{main}
15367- has dynamic type \code{int\,\,\FUNCTION(int,\,[List<int>])},
15367+ has dynamic type \code{int\,\,\FUNCTION(int,\,[List<int>? ])},
1536815368and it is obtained by implicitly
1536915369``passing the actual type argument \code{int}''
1537015370to the denoted generic instance method,
0 commit comments