raineorshine / solidity-repl

Ethereum Solidity REPL
ISC License
396 stars 33 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!