Skip to content

Commit

Permalink
DocStringParser: Add Changelog entry and test case for empty descript…
Browse files Browse the repository at this point in the history
…ions.
  • Loading branch information
ekpyron committed Mar 14, 2018
1 parent 0d0c9b8 commit 9d079fd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
6 changes: 6 additions & 0 deletions test/libsolidity/syntaxTests/docstring_empty_description.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
contract C {
/// @param id
function vote(uint id) public;
}
// ----
// DocstringParsingError: No description given for param id

0 comments on commit 9d079fd

Please sign in to comment.