raineorshine / solidity-repl

Ethereum Solidity REPL
ISC License
398 stars 31 forks source link

Recognize delete expressions #19

Closed ritzdorf closed 6 years ago

ritzdorf commented 6 years ago

delete expressions need to be recognized in order to avoid an error due to the missing return value. Test case to show the difference between the old and the new version:

uint8[3] memory array = [1,2,3];
delete array[1];
array
raineorshine commented 6 years ago

Thanks!