Skip to content

Commit

Permalink
Move test from lambdaLift.scala to a separate file in pending.
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkDimius committed Jun 2, 2015
1 parent 4afa3ff commit 367c9d3
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 21 deletions.
20 changes: 20 additions & 0 deletions tests/pending/pos/lambdalift-1.scala
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
class Super(x: Int)

class Sub extends Super({
def foo3(x: Int) = {

class C {
def this(name: String) = this()

def bam(y: Int): String => Int = {
def baz = x + y
z => baz * z.length
}
}

val fun = new C("dummy").bam(1)
fun("abc")

}
foo3(22)
})
21 changes: 0 additions & 21 deletions tests/pos/lambdalift.scala
Original file line number Diff line number Diff line change
Expand Up @@ -23,24 +23,3 @@ object test {

}
}

class Super(x: Int)

class Sub extends Super({
def foo3(x: Int) = {

class C {
def this(name: String) = this()

def bam(y: Int): String => Int = {
def baz = x + y
z => baz * z.length
}
}

val fun = new C("dummy").bam(1)
fun("abc")

}
foo3(22)
})

0 comments on commit 367c9d3

Please sign in to comment.