solidity/test/libsolidity/semanticTests
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
..
abiencodedecode
abiEncoderV1 Use side-effects of user defined functions in evm code transform. 2022-11-14 21:26:36 +01:00
abiEncoderV2 Use side-effects of user defined functions in evm code transform. 2022-11-14 21:26:36 +01:00
accessor
arithmetics
array Re-use knowledge about keccak calls. 2022-12-07 14:16:13 +01:00
asmForLoop
builtinFunctions test: Move hashing algorithm tests to semanticTests 2022-10-21 15:59:47 +02:00
calldata Move some tests from viaYul to appropriate groups 2022-11-10 22:21:15 +01:00
cleanup
constantEvaluator
constants
constructor
conversions
ecrecover
enums
errors
events added optimization. shl comes out from being distributed over and 2022-11-11 01:16:14 +05:30
exponentiation
expressions
externalContracts Use side-effects of user defined functions in evm code transform. 2022-11-14 21:26:36 +01:00
externalSource
fallback
freeFunctions
functionCall Use side-effects of user defined functions in evm code transform. 2022-11-14 21:26:36 +01:00
functionSelector
functionTypes Merge pull request #13569 from ethereum/document-call-to-zero-init-function-type 2022-11-01 15:42:12 +01:00
getters feat: allow named parameters in mapping types 2022-12-08 11:56:58 +01:00
immutable
inheritance
inlineAssembly Update tests and include new for create/create2 calculation 2022-09-27 22:31:46 +02:00
integer
interfaceID
isoltestTesting Update tests and include new for create/create2 calculation 2022-09-27 22:31:46 +02:00
libraries
literals
memoryManagement
metaTypes
modifiers
multiSource
operators
optimizer
payable
receive
reverts
revertStrings
salted_create Update tests and include new for create/create2 calculation 2022-09-27 22:31:46 +02:00
smoke
specialFunctions
state Add basic support for the EVM version Paris 2022-11-21 14:56:46 +01:00
statements
storage test: Properly clear storage dirty flag 2022-11-08 18:13:17 +01:00
strings
structs Re-use knowledge about keccak calls. 2022-12-07 14:16:13 +01:00
tryCatch Update tests and include new for create/create2 calculation 2022-09-27 22:31:46 +02:00
types Add test for copying reference types between data locations 2022-09-07 10:45:53 +02:00
underscore
uninitializedFunctionPointer
userDefinedValueType Hash number literals according to their value instead of their string representation. 2022-11-08 20:34:10 +01:00
using
variables
various added optimization. shl comes out from being distributed over and 2022-11-11 01:16:14 +05:30
viaYul Move some tests from viaYul to appropriate groups 2022-11-10 22:21:15 +01:00
virtualFunctions
byte_array_to_storage_cleanup.sol Use side-effects of user defined functions in evm code transform. 2022-11-14 21:26:36 +01:00
c99_scoping_activation.sol
constructor_inheritance_init_order_2.sol
constructor_inheritance_init_order_3_legacy.sol
constructor_inheritance_init_order_3_viaIR.sol
constructor_inheritance_init_order.sol
constructor_with_params_diamond_inheritance.sol
constructor_with_params_inheritance_2.sol
constructor_with_params_inheritance.sol
constructor_with_params.sol
dirty_calldata_bytes.sol
dirty_calldata_dynamic_array.sol
emit_three_identical_events.sol fix emit statments being printed on the same line 2022-10-25 19:22:07 +02:00
emit_two_identical_events.sol fix emit statments being printed on the same line 2022-10-25 19:22:07 +02:00
empty_contract.sol
empty_for_loop.sol
interface_inheritance_conversions.sol
isoltestFormatting.sol
state_var_initialization.sol
state_variables_init_order_2.sol
state_variables_init_order_3.sol
state_variables_init_order.sol
unused_store_storage_removal_bug.sol Bugfix and tests. 2022-09-08 11:54:14 +02:00