Skip to content

Commit 14efbe8

Browse files
committed
Correct example in section about super-bounded types
1 parent fc6f80c commit 14efbe8

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
@@ -7613,9 +7613,10 @@ \subsection{Super-Bounded Types}
76137613
\begin{dartCode}
76147614
\CLASS{} A<X \EXTENDS{} num> \{
76157615
X x;
7616+
A(this.x);
76167617
\}
76177618
\\
7618-
A<Object> a;
7619+
A<Object?> a;
76197620
\end{dartCode}
76207621

76217622
\commentary{%

0 commit comments

Comments
 (0)