You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.
func fn(x int) {
switch x {
case 0:
println("we can do zero")
default:
println("we can't do x, we'll pretend it's 1")
fallthrough
case 1:
println("we can do one")
}
}
Same issue exists when we fall into the default branch.
Adapted from real code seen in the wild:
Same issue exists when we fall into the default branch.
Updates #739
The text was updated successfully, but these errors were encountered: