2019-04-23 07:49:16 +00:00
|
|
|
{
|
|
|
|
for {} 1 {} {
|
|
|
|
for {} 1 {} {
|
|
|
|
for {} 1 {} {
|
|
|
|
for {} 1 {} {
|
|
|
|
for {} 1 {} {
|
|
|
|
for {} 1 {} {
|
|
|
|
for {} 1 { let a := 1 a := 2 a := 3 } {
|
|
|
|
// Declarations inside body and post should be handled as normal.
|
|
|
|
let b := 1
|
|
|
|
b := 2
|
|
|
|
b := 3
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// ----
|
2021-11-23 09:42:18 +00:00
|
|
|
// step: unusedAssignEliminator
|
2020-03-17 22:31:56 +00:00
|
|
|
//
|
2019-04-23 07:49:16 +00:00
|
|
|
// {
|
2019-05-08 10:41:19 +00:00
|
|
|
// for { } 1 { }
|
2019-04-23 07:49:16 +00:00
|
|
|
// {
|
2019-05-08 10:41:19 +00:00
|
|
|
// for { } 1 { }
|
2019-04-23 07:49:16 +00:00
|
|
|
// {
|
2019-05-08 10:41:19 +00:00
|
|
|
// for { } 1 { }
|
2019-04-23 07:49:16 +00:00
|
|
|
// {
|
2019-05-08 10:41:19 +00:00
|
|
|
// for { } 1 { }
|
2019-04-23 07:49:16 +00:00
|
|
|
// {
|
2019-05-08 10:41:19 +00:00
|
|
|
// for { } 1 { }
|
2019-04-23 07:49:16 +00:00
|
|
|
// {
|
2019-05-08 10:41:19 +00:00
|
|
|
// for { } 1 { }
|
2019-04-23 07:49:16 +00:00
|
|
|
// {
|
2019-05-08 10:41:19 +00:00
|
|
|
// for { } 1 { let a := 1 }
|
|
|
|
// { let b := 1 }
|
2019-04-23 07:49:16 +00:00
|
|
|
// }
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
// }
|