The attached file compiles. It shouldn't, because the variable "i" should be out of scope where it's used. Interestingly, removing either the "if" or the "while" around the "for" causes the proper error to appear!
The failing source
This could be related to bug #3190029, where the opposite problem occours: A local variable being visible only in part of it's scope.
Fixed in 3.1.2 #7331
Log in to post a comment.
The failing source
This could be related to bug #3190029, where the opposite problem occours: A local variable being visible only in part of it's scope.
Fixed in 3.1.2 #7331