Why is the result 3? Is this the correct behavior?
func foo()
{
var i = 0 {
willSet {}
}
defer {
i -= 1
print(i) // expected result - 2, prints - 3
}
i = 3
}
Selecting any option will automatically load the page