On Thursday, 3 November 2016 at 22:29:34 UTC, Jerry wrote:
So I was thinking of a way of extending if statements that have declarations. The following being as example of the current use of if statements with declarations:[...]
Just Introduce another block { int i = someFunc(); if (i >= 0) { ... } } // i is not visible here