Created
September 15, 2013 23:15
-
-
Save zmanji/6575133 to your computer and use it in GitHub Desktop.
Lol Scala.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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