Skip to content

Commit da6a773

Browse files
committed
Failing test
The test included here fails in backend.
1 parent 3c627e8 commit da6a773

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tests/disabled/simplesams.scala

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
package test
2+
3+
trait X { def foo(x: Int): Int; def bar = foo(2) }
4+
trait XX extends X
5+
6+
object test {
7+
val x: X = (x: Int) => 2 // should be a closure
8+
val xx: XX = (x: Int) => 2 // should be a closure, but blows up in backend
9+
}

0 commit comments

Comments
 (0)