Skip to content

Instantly share code, notes, and snippets.

@s1monw1
Created September 20, 2022 22:45
Show Gist options
  • Save s1monw1/554e4dbfd439ea2c9ef331cf61754697 to your computer and use it in GitHub Desktop.
Save s1monw1/554e4dbfd439ea2c9ef331cf61754697 to your computer and use it in GitHub Desktop.
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