Merge pull request #344 from sc-forks/fix/if-else
Fix bug preprocessing unbracketed if else statementspull/345/head
commit
6f8300db69
@ -0,0 +1,10 @@ |
||||
pragma solidity ^0.5.0; |
||||
|
||||
contract Test { |
||||
function a(uint x,uint y, uint z) public { |
||||
if (x==y) |
||||
x = 5; |
||||
else |
||||
x = 7; |
||||
} |
||||
} |
Loading…
Reference in new issue