We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e52fec1 commit 2143728Copy full SHA for 2143728
tests/pos/lambda.decompiled
@@ -3,6 +3,12 @@ out/posTestFromTasty/pos/lambda/foo/Foo.class
3
--------------------------------------------------------------------------------
4
package foo {
5
class Foo() {
6
+ {
7
+ (x: Int) =>
8
9
+ 2
10
+ }
11
12
val a: Int => Int = (x: Int) => x.*(x)
13
}
14
tests/pos/lambda.scala
@@ -1,4 +1,7 @@
1
package foo
2
class Foo {
+ (x: Int) => 2
val a = (x: Int) => x * x
0 commit comments