Skip to content

Instantly share code, notes, and snippets.

@rirakkumya
Created April 6, 2012 11:58
Show Gist options
  • Save rirakkumya/2319181 to your computer and use it in GitHub Desktop.
Save rirakkumya/2319181 to your computer and use it in GitHub Desktop.
scala> object scala {type Int = String}
scala> val dd:scala.Int = 33
<console>:11: error: type mismatch;
found : scala.Int(33)
required: scala.Int
val dd:scala.Int = 33
^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment