ConsenSysMesh / solidity-parser

Solidity Parser in Javascript
137 stars 53 forks source link

Add VariableDeclarationTuple rule #60

Closed cgewecke closed 7 years ago

cgewecke commented 7 years ago

This PR

NB: The code in this PR was authored by @duaraghav8 as part of solparse. He has given permission to integrate his bug-fixes into this repo so that solidity parser efforts can be consolidated in one place.

federicobond commented 7 years ago

@cgewecke keep in mind that this is also valid code:

var (,a) = fn();
var (b,,) = fn();