blob: 182d54ca34167e189162790b7d784034b467e5ce (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
[[syntax trees at end of typer]] // newSource1.scala
package <empty> {
class C extends scala.AnyRef {
def <init>(): C = {
C.super.<init>();
()
};
def x: Int = 2;
def xmacroPlugin1: Nothing = scala.Predef.???;
def xmacroPlugin2: Nothing = scala.Predef.???;
def xmacroPlugin2macroPlugin1: Nothing = scala.Predef.???;
def y: Int = 3;
def ymacroPlugin1: Nothing = scala.Predef.???;
def ymacroPlugin2: Nothing = scala.Predef.???;
def ymacroPlugin2macroPlugin1: Nothing = scala.Predef.???
}
}
macroPlugin2:enterStat(class C extends scala.AnyRef { def <init>() = { super.<init>(); () }; def x = 2; def y = 3 })
macroPlugin1:enterStat(class C extends scala.AnyRef { def <init>() = { super.<init>(); () }; def x = 2; def y = 3 })
macroPlugin2:enterStat(def <init>() = { super.<init>(); () })
macroPlugin2:enterStat(def x = 2)
macroPlugin2:enterStat(def y = 3)
macroPlugin1:enterStat(def <init>() = { super.<init>(); () })
macroPlugin1:enterStat(def x = 2)
macroPlugin1:enterStat(def xmacroPlugin2 = $qmark$qmark$qmark)
macroPlugin1:enterStat(def y = 3)
macroPlugin1:enterStat(def ymacroPlugin2 = $qmark$qmark$qmark)
macroPlugin2:enterStat(super.<init>())
macroPlugin1:enterStat(super.<init>())
|