blob: 6b174c0d2abf4f767fe72296a916ac9f4df64b2c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
[[syntax trees at end of specialize]] // newSource1.scala
package <empty> {
class Foo extends Object {
def <init>(): Foo = {
Foo.super.<init>();
()
};
private[this] val f: Int => Int = {
final <artifact> def $anonfun(param: Int): Int = param;
((param: Int) => $anonfun(param))
};
<stable> <accessor> def f(): Int => Int = Foo.this.f
}
}
|