Skip to content

Commit e52fec1

Browse files
committed
Fix test files
1 parent 3c20894 commit e52fec1

File tree

3 files changed

+3
-11
lines changed

3 files changed

+3
-11
lines changed

tests/pos/lambda.decompiled

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,7 @@ out/posTestFromTasty/pos/lambda/foo/Foo.class
33
--------------------------------------------------------------------------------
44
package foo {
55
class Foo() {
6-
val a: Int => Int =
7-
{
8-
(x: Int) => x.*(x)
9-
}
6+
val a: Int => Int = (x: Int) => x.*(x)
107
}
118
}
129
--------------------------------------------------------------------------------

tests/run-with-compiler/i3876-c.check

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@
66
{
77
def apply(x: Int): Int
88
}
9-
=
10-
{
11-
(x: Int) => x.+(x)
12-
}
9+
= (x: Int) => x.+(x)
1310
(f: (x: Int) => Int).apply(x$1)
1411
}

tests/run-with-compiler/quote-run-staged-interpreter.check

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
{
2-
(x: Int) => 2.+(x).+(4)
3-
}
1+
(x: Int) => 2.+(x).+(4)
42
6
53
8
64
9

0 commit comments

Comments
 (0)