Skip to content

Instantly share code, notes, and snippets.

@Shinpeim
Created November 11, 2014 14:38
Show Gist options
  • Save Shinpeim/acccc586d9a0b9ee37c4 to your computer and use it in GitHub Desktop.
Save Shinpeim/acccc586d9a0b9ee37c4 to your computer and use it in GitHub Desktop.
class Nyan(a: String) {
a = a + "!" // error: reassignment to val
def b = a
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment