Skip to content

Instantly share code, notes, and snippets.

@zmanji
Created September 15, 2013 23:15
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zmanji/6575133 to your computer and use it in GitHub Desktop.
Save zmanji/6575133 to your computer and use it in GitHub Desktop.
Lol Scala.
Zameers-MacBook-Air:~ zmanji$ scala
Welcome to Scala version 2.10.1 (Java HotSpot(TM) 64-Bit Server VM, Java 1.7.0_17).
Type in expressions to have them evaluated.
Type :help for more information.
scala> null == null.asInstanceOf[Int]
<console>:8: warning: comparing values of types Null and Int using `==' will always yield false
null == null.asInstanceOf[Int]
^
res0: Boolean = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment