'no viable alternative at input' when put comments in variables
Closed this issue · 0 comments
vibern0 commented
- Version: v0.1.2-beta.1
- Platform: linux mint 19.2
- Subsystem:
.../contracts/node_modules/soldoc/node_modules/solidity-parser-antlr/dist/index.js:79
throw new ParserError({ errors: listener.getErrors() });
^
ParserError: no viable alternative at input '/**\n * @dev All states ever created.\n */mapping' (29:4)
This happens when doing something similar to
/**
* @notice All roles ever created.
*/
mapping (bytes32 => int) internal someVarName;