Daniel 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f441e1323a 
							
						 
					 
					
						
						
							
							Merge pull request  #13384  from zemse/develop  
						
						... 
						
						
						
						Allow named parameters in mapping types 
						
					 
					
						2023-01-09 17:59:29 +01:00 
						 
				 
			
				
					
						
							
							
								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 
						 
				 
			
				
					
						
							
							
								wechman 
							
						 
					 
					
						
						
						
						
							
						
						
							64a4f32bc2 
							
						 
					 
					
						
						
							
							Consistent terminology for attached/bound functions  
						
						
						
					 
					
						2022-12-07 19:31:41 +01:00 
						 
				 
			
				
					
						
							
							
								Marenz 
							
						 
					 
					
						
						
						
						
							
						
						
							f7cc29bec1 
							
						 
					 
					
						
						
							
							Add std:: qualifier to move() calls  
						
						
						
					 
					
						2022-08-30 11:12:15 +02:00 
						 
				 
			
				
					
						
							
							
								chriseth 
							
						 
					 
					
						
						
						
						
							
						
						
							7620bfaad8 
							
						 
					 
					
						
						
							
							Add option member for function type.  
						
						
						
					 
					
						2021-12-23 12:05:18 +01:00 
						 
				 
			
				
					
						
							
							
								chriseth 
							
						 
					 
					
						
						
						
						
							
						
						
							f94279a437 
							
						 
					 
					
						
						
							
							Use options struct for function type factory function.  
						
						
						
					 
					
						2021-12-23 12:05:14 +01:00 
						 
				 
			
				
					
						
							
							
								hrkrshnn 
							
						 
					 
					
						
						
						
						
							
						
						
							15452371d4 
							
						 
					 
					
						
						
							
							Types for UserDefinedValueType  
						
						
						
					 
					
						2021-09-07 19:42:51 +02:00 
						 
				 
			
				
					
						
							
							
								Marenz 
							
						 
					 
					
						
						
						
						
							
						
						
							2b28f87abf 
							
						 
					 
					
						
						
							
							Add type().min/max for enums  
						
						
						
					 
					
						2021-09-01 15:02:02 +02:00 
						 
				 
			
				
					
						
							
							
								chriseth 
							
						 
					 
					
						
						
						
						
							
						
						
							b04b189959 
							
						 
					 
					
						
						
							
							Syntax for custom errors.  
						
						
						
					 
					
						2021-03-30 21:15:18 +02:00 
						 
				 
			
				
					
						
							
							
								Mathias Baumann 
							
						 
					 
					
						
						
						
						
							
						
						
							e197ebbdd1 
							
						 
					 
					
						
						
							
							Replace TypePointer with Type const*  
						
						
						
					 
					
						2021-03-23 11:47:19 +01:00 
						 
				 
			
				
					
						
							
							
								Alex Beregszaszi 
							
						 
					 
					
						
						
						
						
							
						
						
							7e88ba8da0 
							
						 
					 
					
						
						
							
							Enable the -Wconversion warning  
						
						
						
					 
					
						2020-12-08 16:45:24 +00:00 
						 
				 
			
				
					
						
							
							
								Alex Beregszaszi 
							
						 
					 
					
						
						
						
						
							
						
						
							6eb60bc8cd 
							
						 
					 
					
						
						
							
							Add check that regular and unicode string literals are well formatted  
						
						
						
					 
					
						2020-07-27 18:21:17 +01:00 
						 
				 
			
				
					
						
							
							
								Sachin Grover 
							
						 
					 
					
						
						
						
						
							
						
						
							b7adb2aa42 
							
						 
					 
					
						
						
							
							Add SPDX license identifier if not present already in source file  
						
						... 
						
						
						
						Fixes : #9220  
					
						2020-07-17 20:24:12 +05:30 
						 
				 
			
				
					
						
							
							
								Harikrishnan Mulackal 
							
						 
					 
					
						
						
						
						
							
						
						
							e54c4eecfc 
							
						 
					 
					
						
						
							
							implemented type(X).min and type(X).max for all integer types  
						
						
						
					 
					
						2020-05-11 14:51:13 +05:30 
						 
				 
			
				
					
						
							
							
								Mathias Baumann 
							
						 
					 
					
						
						
						
						
							
						
						
							a3f23d3158 
							
						 
					 
					
						
						
							
							Implement new with CREATE2 and function call options.  
						
						
						
					 
					
						2020-01-23 21:20:01 +01:00 
						 
				 
			
				
					
						
							
							
								Daniel Kirchner 
							
						 
					 
					
						
						
						
						
							
						
						
							9535c0f520 
							
						 
					 
					
						
						
							
							Introduce FunctionKind::Declaration and allow accessing function signatures via contract name.  
						
						
						
					 
					
						2020-01-09 15:40:41 +01:00 
						 
				 
			
				
					
						
							
							
								Christian Parpart 
							
						 
					 
					
						
						
						
						
							
						
						
							6b23412fae 
							
						 
					 
					
						
						
							
							C++ namespace cleanup (except tests).  
						
						
						
					 
					
						2020-01-07 15:51:50 +01:00 
						 
				 
			
				
					
						
							
							
								chriseth 
							
						 
					 
					
						
						
						
						
							
						
						
							b0db64ff5b 
							
						 
					 
					
						
						
							
							Merge remote-tracking branch 'origin/develop' into develop_060  
						
						
						
					 
					
						2019-11-26 16:19:35 +01:00 
						 
				 
			
				
					
						
							
							
								Gaith Hallak 
							
						 
					 
					
						
						
						
						
							
						
						
							4a1e85436b 
							
						 
					 
					
						
						
							
							Allow splitting string literals into multiple parts  
						
						
						
					 
					
						2019-11-26 14:41:30 +03:00 
						 
				 
			
				
					
						
							
							
								chriseth 
							
						 
					 
					
						
						
						
						
							
						
						
							edf1e83fda 
							
						 
					 
					
						
						
							
							Merge remote-tracking branch 'origin/develop' into develop_060  
						
						
						
					 
					
						2019-10-28 15:21:49 +01:00 
						 
				 
			
				
					
						
							
							
								Daniel Kirchner 
							
						 
					 
					
						
						
						
						
							
						
						
							4782c800ec 
							
						 
					 
					
						
						
							
							Initial introduction of array slices with partial implementation for dynamic calldata arrays.  
						
						
						
					 
					
						2019-09-13 10:57:53 +02:00 
						 
				 
			
				
					
						
							
							
								Leonardo Alt 
							
						 
					 
					
						
						
						
						
							
						
						
							5cfe0b7670 
							
						 
					 
					
						
						
							
							Allow explicit conversion from address to address payable  
						
						
						
					 
					
						2019-09-09 23:46:00 +02:00 
						 
				 
			
				
					
						
							
							
								Christian Parpart 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							9733ae7483 
							
						 
					 
					
						
						
							
							[libsolidity] TypeProvider: cleanup unnecessary std:: qualifiers  
						
						
						
					 
					
						2019-04-17 14:45:29 +02:00 
						 
				 
			
				
					
						
							
							
								Christian Parpart 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							721bf367a3 
							
						 
					 
					
						
						
							
							[libsolidity] TypeProvider: eliminate redundant "Type" suffix in provider function signatures.  
						
						
						
					 
					
						2019-04-17 14:42:07 +02:00 
						 
				 
			
				
					
						
							
							
								chriseth 
							
						 
					 
					
						
						
						
						
							
						
						
							4e2d4f02b0 
							
						 
					 
					
						
						
							
							Make data location explicit.  
						
						
						
					 
					
						2019-04-16 23:22:08 +02:00 
						 
				 
			
				
					
						
							
							
								chriseth 
							
						 
					 
					
						
						
						
						
							
						
						
							2761aed1d3 
							
						 
					 
					
						
						
							
							Lazy-initialize string and bytes types.  
						
						
						
					 
					
						2019-04-16 23:22:08 +02:00 
						 
				 
			
				
					
						
							
							
								chriseth 
							
						 
					 
					
						
						
						
						
							
						
						
							4656d7ca7d 
							
						 
					 
					
						
						
							
							Change pre-created types to unique_ptr to avoid copying and moving.  
						
						
						
					 
					
						2019-04-16 23:22:08 +02:00 
						 
				 
			
				
					
						
							
							
								Christian Parpart 
							
						 
					 
					
						
						
						
						
							
						
						
							59d4f54729 
							
						 
					 
					
						
						
							
							libsolidity: Be more restrictive to not allow any copy constructors at all in Type system.  
						
						... 
						
						
						
						This enforces us to be a little bit more historical in how to initialize
our std::array<>'s in TypeProvider. 
						
					 
					
						2019-04-16 18:26:46 +02:00 
						 
				 
			
				
					
						
							
							
								Christian Parpart 
							
						 
					 
					
						
						
						
						
							
						
						
							bf43eebea9 
							
						 
					 
					
						
						
							
							libsolidity: Introducing TypeProvider API, for clear type system ownership.  
						
						
						
					 
					
						2019-04-16 18:26:45 +02:00