Created
April 16, 2014 15:20
-
-
Save xeno-by/10892965 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17:19 ~/Projects/Master/sandbox (master)$ st | |
[[syntax trees at end of typer]] // Test.scala | |
package <empty> { | |
abstract trait B extends scala.AnyRef; | |
class C1 extends scala.AnyRef { | |
def <init>(): C1 = { | |
C1.super.<init>(); | |
() | |
}; | |
scala.this.Predef.println(this) | |
}; | |
class C2 extends scala.AnyRef { x$1: C2 with B => | |
def <init>(): C2 = { | |
C2.super.<init>(); | |
() | |
}; | |
scala.this.Predef.println(this) | |
}; | |
class C3 extends scala.AnyRef { `this`: C3 with B => | |
def <init>(): C3 = { | |
C3.super.<init>(); | |
() | |
}; | |
scala.this.Predef.println(this) | |
} | |
} | |
17:20 ~/Projects/Master/sandbox (master)$ | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
17:20 ~/Projects/Master/sandbox (master)$ st
[[syntax trees at end of typer]] // Test.scala
package {
abstract trait B extends scala.AnyRef;
class C1 extends scala.AnyRef {
def (): C1 = {
C1.super.();
()
};
private[this] val x1: C1 = this;
def x1: C1 = C1.this.x1
};
class C2 extends scala.AnyRef { x$1: C2 with B =>
def (): C2 = {
C2.super.();
()
};
private[this] val x2: C2 with B = this;
def x2: C2 with B = C2.this.x2
};
class C3 extends scala.AnyRef {
this
: C3 with B =>def (): C3 = {
C3.super.();
()
};
private[this] val x3: C3 with B = this;
def x3: C3 with B = C3.this.x3
}
}
17:20 ~/Projects/Master/sandbox (master)$