{ SyntaxError: Expected comment, end of line, identifier, or whitespace but ")" found. Line: <line>, Column: <column>
at peg$buildStructuredError (.../solidity-parser/build/parser.js:1272:12)
at Object.peg$parse [as parse] (.../solidity-parser/build/parser.js:13858:11)
at Object.parse (.../solidity-parser/index.js:34:23)
at <anonymous>
message: 'Expected comment, end of line, identifier, or whitespace but ")" found. Line: <line>, Column: <column>',
expected: ...
}
Changing this slightly, to use a return variable, does not cause any errors:
On solidity-parser 0.4.0.
Something like
causes a parsing error:
Changing this slightly, to use a return variable, does not cause any errors: