Skip to content

Commit a736c2e

Browse files
committed
Correct example in section about super-bounded types
1 parent 68f7e17 commit a736c2e

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
@@ -7957,9 +7957,10 @@ \subsection{Super-Bounded Types}
79577957
\begin{dartCode}
79587958
\CLASS{} A<X \EXTENDS{} num> \{
79597959
X x;
7960+
A(this.x);
79607961
\}
79617962
\\
7962-
A<Object> a;
7963+
A<Object?> a;
79637964
\end{dartCode}
79647965

79657966
\commentary{%

0 commit comments

Comments
 (0)