Created
September 25, 2017 09:22
-
-
Save invkrh/e4dbb7060af511b2d4ab68c21d6b9218 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
class A { | |
def say() = println(this.hashCode()) | |
} | |
def fun(a: => A) = { | |
a.say() | |
a.say() | |
} | |
fun(new A) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment