summaryrefslogtreecommitdiff
path: root/test/files/run/delambdafy_uncurry_byname_method.check
blob: 71e404ce64f5749d9e33353b357d02e825e12d46 (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$foo(): String = "";
      (() => $anonfun$foo())
    })
  }
}