summaryrefslogtreecommitdiff
path: root/test/files/run/delambdafy_uncurry_byname_method.check
blob: e0f281b1cd8c3870caaa524a666907e649755056 (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: () => String): String = x.apply();
    def foo(): String = Foo.this.bar({
      final <artifact> def $anonfun(): String = "";
      (() => $anonfun())
    })
  }
}