Skip to content

Commit b057fe3

Browse files
committed
Correct example in section about super-bounded types
1 parent 9dc5504 commit b057fe3

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
@@ -7662,9 +7662,10 @@ \subsection{Super-Bounded Types}
76627662
\begin{dartCode}
76637663
\CLASS{} A<X \EXTENDS{} num> \{
76647664
X x;
7665+
A(this.x);
76657666
\}
76667667
\\
7667-
A<Object> a;
7668+
A<Object?> a;
76687669
\end{dartCode}
76697670

76707671
\commentary{%

0 commit comments

Comments
 (0)