We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c627e8 commit da6a773Copy full SHA for da6a773
tests/disabled/simplesams.scala
@@ -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