solidity/test/libsolidity/ABIJson
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
..
basic_test.sol
constructor_abi.sol
empty_contract.sol
empty_name_input_parameter_with_named_one.sol
empty_name_return_parameters.sol
errors_referenced.sol Add errors to the ABI. 2021-03-30 21:16:58 +02:00
errors.sol Add errors to the ABI. 2021-03-30 21:16:58 +02:00
event_structs.sol
events_anonymous.sol
events.sol
function_type_extended.sol
function_type.sol
global_struct.sol
include_fallback_function.sol
inherited.sol
internal_constructor.sol
library_function.sol
mapping.sol feat: allow named parameters in mapping types 2022-12-08 11:56:58 +01:00
multiple_methods_order.sol
multiple_methods.sol
multiple_params.sol
payable_constructor_abi.sol
payable_fallback_function.sol
payable_function.sol
pure_function.sol
receive_ether_and_fallback_function.sol
receive_ether_function.sol
return_param_in_abi.sol
return_structs_with_contracts.sol
return_structs.sol
structs_and_arrays.sol
structs_in_libraries.sol
user_defined_value_type.sol Changing the UserDefinedValueType::toString to userdefined <name> 2021-09-15 17:25:23 +02:00
view_function.sol