YulOpt: Extend StructuralSimplifier to work with all types

This commit is contained in:
Mathias Baumann
2019-03-05 18:39:27 +01:00
parent a52b50d770
commit f6e09d6368
2 changed files with 14 additions and 2 deletions
@@ -0,0 +1,12 @@
{
// Used to cause assert error
let y := 200
switch 3
case "" { y := 8 }
case 1 { y := 9 }
}
// ----
// structuralSimplifier
// {
// let y := 200
// }