solidity/test/libsolidity/syntaxTests/natspec/invalid
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
..
docstring_author_function.sol refactor: Move error generating tests to /invalid 2022-10-20 14:04:12 +03:00
docstring_author_title_state_variable.sol refactor: Move error generating tests to /invalid 2022-10-20 14:04:12 +03:00
docstring_empty_description.sol refactor: Move error generating tests to /invalid 2022-10-20 14:04:12 +03:00
docstring_empty_tag.sol refactor: Move error generating tests to /invalid 2022-10-20 14:04:12 +03:00
docstring_inherit_modifier_no_return2.sol Fix segfault for empty @return tags in modifiers 2020-12-10 11:54:40 +01:00
docstring_inherit_modifier_no_return.sol Fix segfault for empty @return tags in modifiers 2020-12-10 11:54:40 +01:00
docstring_inheritdoc2.sol NatSpec: Implement `@inheritdoc` 2020-07-20 18:32:18 +02:00
docstring_inheritdoc3.sol NatSpec: Implement `@inheritdoc` 2020-07-20 18:32:18 +02:00
docstring_inheritdoc_emptys.sol Fix inheritdoc tags trying to resolve 'empty' elements 2020-08-26 21:28:00 +02:00
docstring_inheritdoc_twice.sol Complete error coverage of ReferenceResolver 2020-07-28 18:56:57 +02:00
docstring_inheritdoc_wrong_type.sol NatSpec: Implement `@inheritdoc` 2020-07-20 18:32:18 +02:00
docstring_inheritdoc.sol NatSpec: Implement `@inheritdoc` 2020-07-20 18:32:18 +02:00
docstring_named_return_param_mismatch.sol Added error codes to SyntaxTest expectations (updated tests) 2020-06-22 16:51:47 +02:00
docstring_non_public_state_variable_with_return.sol refactor: Move error generating tests to /invalid 2022-10-20 14:04:12 +03:00
docstring_parameter.sol Added error codes to SyntaxTest expectations (updated tests) 2020-06-22 16:51:47 +02:00
docstring_return_size_mismatch.sol Added error codes to SyntaxTest expectations (updated tests) 2020-06-22 16:51:47 +02:00
docstring_state_variable_too_many_return_tags.sol refactor: Move error generating tests to /invalid 2022-10-20 14:04:12 +03:00
docstring_too_many_return_tags.sol refactor: Move error generating tests to /invalid 2022-10-20 14:04:12 +03:00
inherit_doc_events.sol NatSpec: Implement `@inheritdoc` 2020-07-20 18:32:18 +02:00
invalid_tag.sol Show proper error for misusing the custom natspec tag 2021-03-25 12:45:37 +00:00
return_param_amount_differs2.sol feat: allow named parameters in mapping types 2022-12-08 11:56:58 +01:00
return_param_amount_differs.sol Natspec: Don't copy from base function if return parameters differ 2021-04-19 15:20:30 +02:00