Skip to content

Commit dec0bf5

Browse files
committed
Fix tests
These tests don't have follow-on errors in inlined code anymore
1 parent fe7820d commit dec0bf5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/neg/i7294-a.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ inline given f[T <: Foo] as T = ??? match {
66
case x: T => x.g(10) // error
77
}
88

9-
@main def Test = f // error // error
9+
@main def Test = f

tests/neg/i7294-b.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ inline given f[T <: Foo] as T = ??? match {
66
case x: T => x.g(10) // error
77
}
88

9-
@main def Test = f // error // error
9+
@main def Test = f

0 commit comments

Comments
 (0)