Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
scup
func f1() -> Int32 {
let x : Int32 = Int32.max
let y : Int32 = 42
return x + y
}
func f2(_ b : Bool) -> Int32 {
let verylarge : Int32 = Int32.max
let verylargetwo : Int32 = Int32.max
let verysmall : Int32 = 42
let patatino : Int32
if (b) {
patatino = verylarge
} else {
patatino = verylargetwo
}
return patatino + verysmall
}
f2(true)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.