Created
March 19, 2017 00:19
-
-
Save DarkDimius/c490459911e04c9bab69851ef96ad505 to your computer and use it in GitHub Desktop.
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
object test { | |
final val s = false | |
if (s) { println("a")} // <-- will not be emmited in bytecode | |
final val s1: Boolean = false | |
if (s1) { println("b")} // <-- will be emmited in bytecode | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment