Skip to content

Commit ba8d914

Browse files
committed
Correct example in section about super-bounded types
1 parent b643bd8 commit ba8d914

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
@@ -7614,9 +7614,10 @@ \subsection{Super-Bounded Types}
76147614
\begin{dartCode}
76157615
\CLASS{} A<X \EXTENDS{} num> \{
76167616
X x;
7617+
A(this.x);
76177618
\}
76187619
\\
7619-
A<Object> a;
7620+
A<Object?> a;
76207621
\end{dartCode}
76217622

76227623
\commentary{%

0 commit comments

Comments
 (0)