diff options
author | Daniel Kirchner <daniel@ekpyron.org> | 2018-03-14 17:34:16 +0800 |
---|---|---|
committer | Daniel Kirchner <daniel@ekpyron.org> | 2018-03-14 17:34:16 +0800 |
commit | 9d079fd1261e40339157bff6fd46de96ae844562 (patch) | |
tree | 0035f7f0c4674579925953116fde816ea42496d1 | |
parent | 0d0c9b868817bad17968f9c23bce5d3844a5971c (diff) | |
download | dexon-solidity-9d079fd1261e40339157bff6fd46de96ae844562.tar dexon-solidity-9d079fd1261e40339157bff6fd46de96ae844562.tar.gz dexon-solidity-9d079fd1261e40339157bff6fd46de96ae844562.tar.bz2 dexon-solidity-9d079fd1261e40339157bff6fd46de96ae844562.tar.lz dexon-solidity-9d079fd1261e40339157bff6fd46de96ae844562.tar.xz dexon-solidity-9d079fd1261e40339157bff6fd46de96ae844562.tar.zst dexon-solidity-9d079fd1261e40339157bff6fd46de96ae844562.zip |
DocStringParser: Add Changelog entry and test case for empty descriptions.
-rw-r--r-- | Changelog.md | 1 | ||||
-rw-r--r-- | test/libsolidity/syntaxTests/docstring_empty_description.sol | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/Changelog.md b/Changelog.md index 648af66c..a0ad6242 100644 --- a/Changelog.md +++ b/Changelog.md @@ -6,6 +6,7 @@ Bugfixes: * Code Generator: Properly skip unneeded storgae array cleanup when not reducing length. * Commandline interface: Support ``--evm-version constantinople`` properly. * Standard JSON: Support ``constantinople`` as ``evmVersion`` properly. + * DocString Parser: Fix error message for empty descriptions. ### 0.4.21 (2018-03-07) diff --git a/test/libsolidity/syntaxTests/docstring_empty_description.sol b/test/libsolidity/syntaxTests/docstring_empty_description.sol new file mode 100644 index 00000000..0caa1b23 --- /dev/null +++ b/test/libsolidity/syntaxTests/docstring_empty_description.sol @@ -0,0 +1,6 @@ +contract C { + /// @param id + function vote(uint id) public; +} +// ---- +// DocstringParsingError: No description given for param id |