Created
June 30, 2020 19:53
-
-
Save evgeniyasti/6e79546fef57830e2eaeb4da9f226763 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 f() { | |
var x = 0 | |
g(x) | |
// I need x to be 1 at this point | |
} | |
fun g(x : Int) { | |
x = 1 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment