Removing scope rules for pre block in 'For Loops'

This commit is contained in:
fnatic
2019-04-17 05:58:40 +05:30
parent 94053c9a52
commit 5b6ed7a97c
24 changed files with 60 additions and 111 deletions
@@ -1,12 +1,13 @@
{
for { let a := 10 } iszero(eq(a, 0)) { a := add(a, 1) } {}
let a := 10
for { } iszero(eq(a, 0)) { a := add(a, 1) } {}
}
// ====
// step: expressionSimplifier
// ----
// {
// let a := 10
// for {
// let a := 10
// }
// iszero(iszero(a))
// {