The solidity parser fails when there is fallback function BUT it only happens when there is no space.
Works:
function () payable {}
Does not work:
function() payable {}
$ aragon run
✔ Building frontend
✔ Prepare files for publishing
✖ Generate application artifact
→ Cannot read property 'split' of undefined
Publish althea.aragonpm.eth
Fetch published repo
Create DAO
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for contributing to Aragon! 🦅
The solidity parser fails when there is fallback function BUT it only happens when there is no space.
Works:
function () payable {}
Does not work:
function() payable {}
The culprit is this line: https://github.com/aragon/aragon-cli/blob/master/src/helpers/solidity-extractor.js#L18
It isn't urgent for this to get solved, but I'd rather see this documented until the regex gets updated to handle this. :smiley: