mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
YulOpt: Extend StructuralSimplifier to work with all types
This commit is contained in:
@@ -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
|
||||
// }
|
||||
Reference in New Issue
Block a user