Skip to content

Instantly share code, notes, and snippets.

@xeno-by
Created December 4, 2013 14:33
Show Gist options
  • Save xeno-by/7788364 to your computer and use it in GitHub Desktop.
Save xeno-by/7788364 to your computer and use it in GitHub Desktop.
15:31 ~$ parse 'enum Day(foo: Int) = x'
[[syntax trees at end of parser]]// Scala source: tmpVbz6xn
package <empty> {
class wrapper extends scala.AnyRef {
def <init>() = {
super.<init>();
()
};
enum.Day.update((foo: Int), x)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment