aboutsummaryrefslogtreecommitdiff
path: root/tests/pending/run/delambdafy_uncurry_byname_method.check
blob: cd3edc7d6f7773eea88ec0f67cb5a4ba9688335c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[[syntax trees at end of                   uncurry]] // newSource1.scala
package <empty> {
  class Foo extends Object {
    def <init>(): Foo = {
      Foo.super.<init>();
      ()
    };
    def bar(x: () => Int): Int = x.apply();
    def foo(): Int = Foo.this.bar({
      final <artifact> def $anonfun(): Int = 1;
      (() => $anonfun())
    })
  }
}