solidity/test/libsolidity/syntaxTests/natspec
Soham Zemse fa78e0f3d4 feat: allow named parameters in mapping types
Co-authored-by: Hari <webmail.hari@gmail.com>

test: add parser and abi test cases

docs: add example on using named parameters for mappings

- Add changelog

feat: update antlr grammar to allow named parameters in mappings

fix: prevent conflicting mapping parameter names

ref: change order of mapping initializers

test: update expectations and fix build

test: add more tests

fix: use common error & code for conflicting params

fix: issue with accessing nested mapping

test: add conflicting params tests for more nested levels

Update libsolidity/analysis/DeclarationTypeChecker.cpp

Co-authored-by: Nikola Matić <nikola.matic@ethereum.org>

fix: error reported with the same code twice

test: add more tests for 3 level nested mapping

Address review comments
2022-12-08 11:56:58 +01:00
..
invalid feat: allow named parameters in mapping types 2022-12-08 11:56:58 +01:00
docstring_double_empty.sol Fixed bug when two empty NatSpec comments led to scanning past EOL 2020-05-20 20:26:02 +05:30
docstring_named_return_parameter.sol Trivial isoltest updates: normalized whitespace 2021-04-20 17:38:29 +02:00
docstring_parameter.sol Trivial isoltest updates: missing // ---- at the end 2021-04-20 17:38:29 +02:00
docstring_private_state_variable.sol Tests and changelog 2021-04-08 17:06:24 +02:00
docstring_state_variable.sol Trivial isoltest updates: missing // ---- at the end 2021-04-20 17:38:29 +02:00
docstring_variable.sol Tests and changelog 2021-04-08 17:06:24 +02:00