Skip to content

Instantly share code, notes, and snippets.

@retronym
Created June 3, 2010 19:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save retronym/424375 to your computer and use it in GitHub Desktop.
Save retronym/424375 to your computer and use it in GitHub Desktop.
~/code/scalaz[master*]: ~/usr/scala-2.7.7.final/bin/scala -Xprint:erasure -e 'case class A(a: Int); val xx = A(1).a + 2' 2>&1 | grep -i xx
private[this] val xx: Int = new A($anon.this, 1).a().+(2);
<stable> <accessor> def xx(): Int = $anon.this.xx;
~/code/scalaz[master*]: ~/usr/scala-2.8.0.RC2/bin/scala -Xprint:erasure -e 'case class A(a: Int); val xx = A(1).a + 2' 2>&1 | grep -i xx
private[this] val xx: Int = new A($anon.this, 1).a().+(2);
private <stable> <accessor> def xx(): Int = $anon.this.xx;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment