Skip to content

Commit 54e9eef

Browse files
Update tests/run/i12170.scala
Co-authored-by: Nicolas Stucki <[email protected]>
1 parent 2bfab9e commit 54e9eef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/run/i12170.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import scala.compiletime.error
22

33
object BadFilters:
4-
def withFilter(f: Int => Boolean): BadFilters.type = ???//error("Unexpected withFilter call")
4+
inline def withFilter(f: Int => Boolean): BadFilters.type = error("Unexpected withFilter call")
55
def foreach(f: Int => Unit): Unit = f(42)
66

77
@main def Test =

0 commit comments

Comments
 (0)