Skip to content

Commit fc823bd

Browse files
committed
Correct example in section about super-bounded types
1 parent 25a3fdb commit fc823bd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

specification/dartLangSpec.tex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7818,9 +7818,10 @@ \subsection{Super-Bounded Types}
78187818
\begin{dartCode}
78197819
\CLASS{} A<X \EXTENDS{} num> \{
78207820
X x;
7821+
A(this.x);
78217822
\}
78227823
\\
7823-
A<Object> a;
7824+
A<Object?> a;
78247825
\end{dartCode}
78257826

78267827
\commentary{%

0 commit comments

Comments
 (0)