Skip to content

Commit 886ff06

Browse files
committed
Correct example in section about super-bounded types
1 parent 65ec116 commit 886ff06

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
@@ -7627,9 +7627,10 @@ \subsection{Super-Bounded Types}
76277627
\begin{dartCode}
76287628
\CLASS{} A<X \EXTENDS{} num> \{
76297629
X x;
7630+
A(this.x);
76307631
\}
76317632
\\
7632-
A<Object> a;
7633+
A<Object?> a;
76337634
\end{dartCode}
76347635

76357636
\commentary{%

0 commit comments

Comments
 (0)