Skip to content

Commit ee36375

Browse files
committed
Correct example in section about super-bounded types
1 parent 2f1ae30 commit ee36375

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
@@ -7953,9 +7953,10 @@ \subsection{Super-Bounded Types}
79537953
\begin{dartCode}
79547954
\CLASS{} A<X \EXTENDS{} num> \{
79557955
X x;
7956+
A(this.x);
79567957
\}
79577958
\\
7958-
A<Object> a;
7959+
A<Object?> a;
79597960
\end{dartCode}
79607961

79617962
\commentary{%

0 commit comments

Comments
 (0)