Skip to content

Commit 860a9ee

Browse files
committed
Update test file
Previously it fails, but now it is ok
1 parent 48518e1 commit 860a9ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/neg/gadt-alternatives.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ import Expr.*
66
def eval[T](e: Expr[T]): T = e match
77
case StringVal(_) | IntVal(_) => "42" // error
88
def eval1[T](e: Expr[T]): T = e match
9-
case IntValAlt(_) | IntVal(_) => 42 // error // limitation
9+
case IntValAlt(_) | IntVal(_) => 42 // previously error, now ok

0 commit comments

Comments
 (0)