Skip to content

Commit 60d53b6

Browse files
committed
Correct example in section about super-bounded types
1 parent 2876a9c commit 60d53b6

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
@@ -7836,9 +7836,10 @@ \subsection{Super-Bounded Types}
78367836
\begin{dartCode}
78377837
\CLASS{} A<X \EXTENDS{} num> \{
78387838
X x;
7839+
A(this.x);
78397840
\}
78407841
\\
7841-
A<Object> a;
7842+
A<Object?> a;
78427843
\end{dartCode}
78437844

78447845
\commentary{%

0 commit comments

Comments
 (0)