@@ -3239,7 +3239,7 @@ \subsubsection{The Method \code{noSuchMethod}}
32393239in order to correctly override \code{noSuchMethod} in \code{Object}.
32403240For instance, it can have signature
32413241\code{noSuchMethod(Invocation i)} or
3242- \code{noSuchMethod(Object i, [String s = '' ])},
3242+ \code{noSuchMethod(Object i, [String? s ])},
32433243but not
32443244\code{noSuchMethod(Invocation i, String s)}.
32453245This implies that the situation where \code{noSuchMethod} is invoked
@@ -4010,7 +4010,7 @@ \subsubsection{Generative Constructors}
40104010
40114011\begin{dartCode}
40124012class A \{
4013- int x;
4013+ int? x;
40144014 A([this.x]);
40154015\}
40164016\end{dartCode}
@@ -4021,8 +4021,8 @@ \subsubsection{Generative Constructors}
40214021
40224022\begin{dartCode}
40234023class A \{
4024- int x;
4025- A([int x]): this.x = x;
4024+ int? x;
4025+ A([int? x]): this.x = x;
40264026\}
40274027\end{dartCode}
40284028
@@ -15412,7 +15412,7 @@ \subsubsection{Generic Method Instantiation}
1541215412\}
1541315413\\
1541415414\CLASS{} B \EXTENDS{} /*\,or\,\,\IMPLEMENTS\,*/ A \{
15415- X fi<X \EXTENDS{} num>(X x, [List<X> xs]) => x;
15415+ X fi<X \EXTENDS{} num>(X x, [List<X>? xs]) => x;
1541615416\}
1541715417\\
1541815418\VOID{} main() \{
@@ -15424,7 +15424,7 @@ \subsubsection{Generic Method Instantiation}
1542415424\commentary{%
1542515425\noindent
1542615426The function object that \code{f} is bound to at the end of \code{main}
15427- has dynamic type \code{int\,\,\FUNCTION(int,\,[List<int>])},
15427+ has dynamic type \code{int\,\,\FUNCTION(int,\,[List<int>? ])},
1542815428and it is obtained by implicitly
1542915429``passing the actual type argument \code{int}''
1543015430to the denoted generic instance method,
0 commit comments