Skip to content

Commit 367c9d3

Browse files
committed
Move test from lambdaLift.scala to a separate file in pending.
1 parent 4afa3ff commit 367c9d3

File tree

2 files changed

+20
-21
lines changed

2 files changed

+20
-21
lines changed

tests/pending/pos/lambdalift-1.scala

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
class Super(x: Int)
2+
3+
class Sub extends Super({
4+
def foo3(x: Int) = {
5+
6+
class C {
7+
def this(name: String) = this()
8+
9+
def bam(y: Int): String => Int = {
10+
def baz = x + y
11+
z => baz * z.length
12+
}
13+
}
14+
15+
val fun = new C("dummy").bam(1)
16+
fun("abc")
17+
18+
}
19+
foo3(22)
20+
})

tests/pos/lambdalift.scala

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -23,24 +23,3 @@ object test {
2323

2424
}
2525
}
26-
27-
class Super(x: Int)
28-
29-
class Sub extends Super({
30-
def foo3(x: Int) = {
31-
32-
class C {
33-
def this(name: String) = this()
34-
35-
def bam(y: Int): String => Int = {
36-
def baz = x + y
37-
z => baz * z.length
38-
}
39-
}
40-
41-
val fun = new C("dummy").bam(1)
42-
fun("abc")
43-
44-
}
45-
foo3(22)
46-
})

0 commit comments

Comments
 (0)