Created
December 2, 2013 11:17
-
-
Save ogatatsu/7748108 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
def test(): Unit = { | |
for(i <- 1 to 10) { | |
println(i); | |
if(i == 5) return; | |
} | |
println("test"); //実行されたら気持ち悪い | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment