Skip to content

Commit 338092a

Browse files
committed
add checkfile
1 parent 4b7b8f6 commit 338092a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/neg/24782.check

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
-- [E050] Type Error: tests/neg/24782.scala:4:28 -----------------------------------------------------------------------
2+
4 | def f(using pure: Pure) = S(s => pure(s)) // error (but no compiler crash / stack overflow)
3+
| ^
4+
| expression does not take more parameters
5+
|
6+
| longer explanation available when compiling with `-explain`

0 commit comments

Comments
 (0)