aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-03-14 23:21:29 +0800
committerGitHub <noreply@github.com>2018-03-14 23:21:29 +0800
commitc3f07b5294893414fd8ed1a04972fe52426ec9a9 (patch)
treee31fd1166fc530a99dec0078ced80af8161c5103 /test
parenta5d9b05acbcbfadeb4c956f70db6f24cf226ed46 (diff)
parent9d079fd1261e40339157bff6fd46de96ae844562 (diff)
downloaddexon-solidity-c3f07b5294893414fd8ed1a04972fe52426ec9a9.tar
dexon-solidity-c3f07b5294893414fd8ed1a04972fe52426ec9a9.tar.gz
dexon-solidity-c3f07b5294893414fd8ed1a04972fe52426ec9a9.tar.bz2
dexon-solidity-c3f07b5294893414fd8ed1a04972fe52426ec9a9.tar.lz
dexon-solidity-c3f07b5294893414fd8ed1a04972fe52426ec9a9.tar.xz
dexon-solidity-c3f07b5294893414fd8ed1a04972fe52426ec9a9.tar.zst
dexon-solidity-c3f07b5294893414fd8ed1a04972fe52426ec9a9.zip
Merge pull request #3730 from ethereum/docstringBug
DocStringParser: Fix error message for empty parameter description.
Diffstat (limited to 'test')
-rw-r--r--test/libsolidity/syntaxTests/docstring_empty_description.sol6
1 files changed, 6 insertions, 0 deletions
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