Created
September 20, 2022 22:45
-
-
Save s1monw1/554e4dbfd439ea2c9ef331cf61754697 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
fun take(w: WrappedInt) { | |
println(w.value) | |
} | |
fun main() { | |
val inlined = WrappedInt(5) | |
take(inlined) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment