Skip to content

Commit edd9ed1

Browse files
committed
Drop out of date comment
1 parent d01c18c commit edd9ed1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/pos/gadts2.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ object Test {
1010

1111
def f[A](t: Term[A], c: Cell[A]): Unit = {
1212
t match {
13-
case NumTerm(n) => c.x = MyDouble(1.0) // problem is: this assignment is not type correct, since gadt variable is forgotten
13+
case NumTerm(n) => c.x = MyDouble(1.0)
1414
}
1515
}
1616

0 commit comments

Comments
 (0)