Kamil Śliwak 
							
						 
					 
					
						
						
						
						
							
						
						
							8a14680851 
							
						 
					 
					
						
						
							
							Disallow unary plus at the parsing stage  
						
						
						
					 
					
						2023-04-18 16:47:00 +02:00 
						 
				 
			
				
					
						
							
							
								Matheus Aguiar 
							
						 
					 
					
						
						
						
						
							
						
						
							4aa310034c 
							
						 
					 
					
						
						
							
							Added missing keyword unicode to Lexer  
						
						
						
					 
					
						2023-03-28 13:51:43 -03:00 
						 
				 
			
				
					
						
							
							
								vlad 
							
						 
					 
					
						
						
						
						
							
						
						
							484ee8a621 
							
						 
					 
					
						
						
							
							Additional tests for edge cases for mutability, visibility, location, experimental, global, indexed and anonymous  
						
						
						
					 
					
						2023-01-20 20:05:36 +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 
							
						 
					 
					
						
						
						
						
							
						
						
							6da09e8d9a 
							
						 
					 
					
						
						
							
							Error message tweak: built-in unary/binary operator  
						
						
						
					 
					
						2022-11-07 17:13:41 +01:00 
						 
				 
			
				
					
						
							
							
								Nikola Matic 
							
						 
					 
					
						
						
						
						
							
						
						
							40de2b0442 
							
						 
					 
					
						
						
							
							Add full stops to error messages  
						
						
						
					 
					
						2022-08-05 09:52:48 +02:00 
						 
				 
			
				
					
						
							
							
								Marenz 
							
						 
					 
					
						
						
						
						
							
						
						
							57d84c8bfb 
							
						 
					 
					
						
						
							
							Fix genetic algorithms CI failure  
						
						
						
					 
					
						2022-01-17 13:35:07 +01:00 
						 
				 
			
				
					
						
							
							
								Marenz 
							
						 
					 
					
						
						
						
						
							
						
						
							0004ad8764 
							
						 
					 
					
						
						
							
							Fix ICE when a constant variable declaration forward references a struct  
						
						
						
					 
					
						2022-01-17 13:24:14 +01:00 
						 
				 
			
				
					
						
							
							
								hrkrshnn 
							
						 
					 
					
						
						
						
						
							
						
						
							8815d6f5f0 
							
						 
					 
					
						
						
							
							Moved a check related to constants to TypeChecker  
						
						... 
						
						
						
						And added a proper error message when constant types containing (nested) mapping types are used. 
						
					 
					
						2021-10-26 18:43:04 +02:00 
						 
				 
			
				
					
						
							
							
								hrkrshnn 
							
						 
					 
					
						
						
						
						
							
						
						
							1fa6c71bd0 
							
						 
					 
					
						
						
							
							Allow Mapping keys to have type UserDefinedValueType.  
						
						... 
						
						
						
						Also added syntax and semantic test. 
						
					 
					
						2021-09-13 10:03:49 +02:00 
						 
				 
			
				
					
						
							
							
								hrkrshnn 
							
						 
					 
					
						
						
						
						
							
						
						
							9f7426b4a9 
							
						 
					 
					
						
						
							
							Implemented parsing for UserDefinedValueType  
						
						... 
						
						
						
						Also added parsing tests. 
						
					 
					
						2021-09-07 19:42:51 +02:00 
						 
				 
			
				
					
						
							
							
								Alex Beregszaszi 
							
						 
					 
					
						
						
						
						
							
						
						
							1be07c2b36 
							
						 
					 
					
						
						
							
							Trivial isoltest updates: missing // ---- at the end  
						
						
						
					 
					
						2021-04-20 17:38:29 +02:00 
						 
				 
			
				
					
						
							
							
								Alex Beregszaszi 
							
						 
					 
					
						
						
						
						
							
						
						
							84c05d35f3 
							
						 
					 
					
						
						
							
							Trivial isoltest updates: normalized whitespace  
						
						
						
					 
					
						2021-04-20 17:38:29 +02:00 
						 
				 
			
				
					
						
							
							
								a3d4 
							
						 
					 
					
						
						
						
						
							
						
						
							35a25b107f 
							
						 
					 
					
						
						
							
							Fix ICE caused by const structs with mappings  
						
						
						
					 
					
						2021-01-12 18:39:54 +01:00 
						 
				 
			
				
					
						
							
							
								Alex Beregszaszi 
							
						 
					 
					
						
						
						
						
							
						
						
							edbdff8619 
							
						 
					 
					
						
						
							
							Update tests  
						
						
						
					 
					
						2020-12-14 19:32:31 +00:00 
						 
				 
			
				
					
						
							
							
								hrkrshnn 
							
						 
					 
					
						
						
						
						
							
						
						
							88c99a7538 
							
						 
					 
					
						
						
							
							Tests/Docs: changing type of msg.sender and tx.origin into address  
						
						... 
						
						
						
						And also making the type of address(literal) as non-payable address. 
						
					 
					
						2020-12-14 16:55:48 +01:00 
						 
				 
			
				
					
						
							
							
								chriseth 
							
						 
					 
					
						
						
						
						
							
						
						
							72f1e4ea0b 
							
						 
					 
					
						
						
							
							Explicitly set coder to v1 for syntax tests.  
						
						
						
					 
					
						2020-12-09 15:25:15 +01:00 
						 
				 
			
				
					
						
							
							
								hrkrshnn 
							
						 
					 
					
						
						
						
						
							
						
						
							40244c5469 
							
						 
					 
					
						
						
							
							Tests/Docs after stricter explicit conversion.  
						
						
						
					 
					
						2020-12-03 16:51:05 +01:00 
						 
				 
			
				
					
						
							
							
								hrkrshnn 
							
						 
					 
					
						
						
						
						
							
						
						
							a834476de6 
							
						 
					 
					
						
						
							
							Tests/Docs after disallowing super, this and _ as declaration names  
						
						
						
					 
					
						2020-11-25 11:14:13 +01:00 
						 
				 
			
				
					
						
							
							
								chriseth 
							
						 
					 
					
						
						
						
						
							
						
						
							253889cbf1 
							
						 
					 
					
						
						
							
							Merge remote-tracking branch 'origin/develop' into breaking  
						
						
						
					 
					
						2020-11-24 16:22:03 +01:00 
						 
				 
			
				
					
						
							
							
								chriseth 
							
						 
					 
					
						
						
						
						
							
						
						
							79669ecd48 
							
						 
					 
					
						
						
							
							Use new abicoder pragma.  
						
						
						
					 
					
						2020-11-24 14:57:45 +01:00 
						 
				 
			
				
					
						
							
							
								Kamil Śliwak 
							
						 
					 
					
						
						
						
						
							
						
						
							1bf700e088 
							
						 
					 
					
						
						
							
							Return a type error when an enum has more than 256 members  
						
						
						
					 
					
						2020-11-16 18:58:19 +01:00 
						 
				 
			
				
					
						
							
							
								Mathias Baumann 
							
						 
					 
					
						
						
						
						
							
						
						
							32b4f18023 
							
						 
					 
					
						
						
							
							Print warning for unnamed return parameters and no return statement  
						
						
						
					 
					
						2020-10-13 13:11:29 +02:00 
						 
				 
			
				
					
						
							
							
								chriseth 
							
						 
					 
					
						
						
						
						
							
						
						
							b2f1d558da 
							
						 
					 
					
						
						
							
							Update existing tests.  
						
						
						
					 
					
						2020-10-08 18:56:17 +02:00 
						 
				 
			
				
					
						
							
							
								a3d4 
							
						 
					 
					
						
						
						
						
							
						
						
							a244daaacb 
							
						 
					 
					
						
						
							
							Exclude tests with overly deep nesting from antlr grammar checks  
						
						
						
					 
					
						2020-09-29 20:20:20 +02:00 
						 
				 
			
				
					
						
							
							
								a3d4 
							
						 
					 
					
						
						
						
						
							
						
						
							3698cd54a5 
							
						 
					 
					
						
						
							
							Complete error coverage of Parser and SyntaxChecker  
						
						
						
					 
					
						2020-09-29 16:07:02 +02:00 
						 
				 
			
				
					
						
							
							
								a3d4 
							
						 
					 
					
						
						
						
						
							
						
						
							9721bda36e 
							
						 
					 
					
						
						
							
							Complete error coverage of ParserBase  
						
						
						
					 
					
						2020-09-28 01:56:25 +02:00 
						 
				 
			
				
					
						
							
							
								Daniel Kirchner 
							
						 
					 
					
						
						
						
						
							
						
						
							bd21535dd1 
							
						 
					 
					
						
						
							
							Rewrite of the antlr grammar.  
						
						
						
					 
					
						2020-08-19 17:55:31 +02:00 
						 
				 
			
				
					
						
							
							
								a3d4 
							
						 
					 
					
						
						
						
						
							
						
						
							0f5d0b6455 
							
						 
					 
					
						
						
							
							Improve error coverage of parser  
						
						
						
					 
					
						2020-08-19 01:37:11 +02:00 
						 
				 
			
				
					
						
							
							
								chriseth 
							
						 
					 
					
						
						
						
						
							
						
						
							93c792c696 
							
						 
					 
					
						
						
							
							Remove special treatment of `var`.  
						
						
						
					 
					
						2020-07-20 17:22:04 +02:00 
						 
				 
			
				
					
						
							
							
								Harikrishnan Mulackal 
							
						 
					 
					
						
						
						
						
							
						
						
							f73b25bb78 
							
						 
					 
					
						
						
							
							Removed specialized errors related to constant state mutability  
						
						
						
					 
					
						2020-07-14 12:42:47 +05:30 
						 
				 
			
				
					
						
							
							
								Daniel Kirchner 
							
						 
					 
					
						
						
						
						
							
						
						
							38c6ecbbe2 
							
						 
					 
					
						
						
							
							Remove finney and szabo denominations.  
						
						
						
					 
					
						2020-07-13 18:07:10 +02:00 
						 
				 
			
				
					
						
							
							
								chriseth 
							
						 
					 
					
						
						
						
						
							
						
						
							64b6524bdb 
							
						 
					 
					
						
						
							
							Merge remote-tracking branch 'origin/develop' into breaking  
						
						
						
					 
					
						2020-07-08 09:37:14 +02:00 
						 
				 
			
				
					
						
							
							
								chriseth 
							
						 
					 
					
						
						
						
						
							
						
						
							9743390a53 
							
						 
					 
					
						
						
							
							Update tests.  
						
						
						
					 
					
						2020-07-07 12:16:18 +02:00 
						 
				 
			
				
					
						
							
							
								chriseth 
							
						 
					 
					
						
						
						
						
							
						
						
							e48d3e5847 
							
						 
					 
					
						
						
							
							Fix wording of error message.  
						
						
						
					 
					
						2020-07-06 19:22:52 +02:00 
						 
				 
			
				
					
						
							
							
								Mathias Baumann 
							
						 
					 
					
						
						
						
						
							
						
						
							02328f3bbb 
							
						 
					 
					
						
						
							
							Add unit denomination `gwei`  
						
						
						
					 
					
						2020-06-24 18:24:56 +02:00 
						 
				 
			
				
					
						
							
							
								a3d4 
							
						 
					 
					
						
						
						
						
							
						
						
							e04cedafc5 
							
						 
					 
					
						
						
							
							Added error codes to SyntaxTest expectations (updated tests)  
						
						
						
					 
					
						2020-06-22 16:51:47 +02:00 
						 
				 
			
				
					
						
							
							
								Daniel Kirchner 
							
						 
					 
					
						
						
						
						
							
						
						
							6f04664cfa 
							
						 
					 
					
						
						
							
							Disallow array slicing for arrays with dyanmically encoded base types.  
						
						
						
					 
					
						2020-05-13 15:52:22 +02:00 
						 
				 
			
				
					
						
							
							
								a3d4 
							
						 
					 
					
						
						
						
						
							
						
						
							02d1f8c41a 
							
						 
					 
					
						
						
							
							Remove a dedicated error flag from DeclarationTypeChecker  
						
						
						
					 
					
						2020-05-12 18:13:17 +02:00 
						 
				 
			
				
					
						
							
							
								Daniel Kirchner 
							
						 
					 
					
						
						
						
						
							
						
						
							3af43fd350 
							
						 
					 
					
						
						
							
							Extract typing.  
						
						
						
					 
					
						2020-04-14 10:59:28 +02:00 
						 
				 
			
				
					
						
							
							
								hrkrshnn 
							
						 
					 
					
						
						
						
						
							
						
						
							79387b2ada 
							
						 
					 
					
						
						
							
							Removed redundant declaration check; changed relevant test cases  
						
						
						
					 
					
						2020-04-02 12:27:38 +05:30 
						 
				 
			
				
					
						
							
							
								Daniel Kirchner 
							
						 
					 
					
						
						
						
						
							
						
						
							d3cbfb0c5c 
							
						 
					 
					
						
						
							
							Allow user-defined types as mapping keys in parser and restrict to contracts during type checking.  
						
						
						
					 
					
						2020-02-04 17:22:03 +01:00 
						 
				 
			
				
					
						
							
							
								Daniel Kirchner 
							
						 
					 
					
						
						
						
						
							
						
						
							05baa23e8a 
							
						 
					 
					
						
						
							
							Require unimplemented functions to be virtual.  
						
						
						
					 
					
						2019-12-02 21:59:00 +01:00 
						 
				 
			
				
					
						
							
							
								chriseth 
							
						 
					 
					
						
						
						
						
							
						
						
							0973ae751a 
							
						 
					 
					
						
						
							
							Do not warn about enabled ABIEncoderV2 anymore.  
						
						
						
					 
					
						2019-11-26 15:49:42 +01:00 
						 
				 
			
				
					
						
							
							
								chriseth 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							cac2e843e6 
							
						 
					 
					
						
						
							
							Merge pull request  #7618  from ethereum/addMoreAbstractKeywordsInTests  
						
						... 
						
						
						
						Add some more abstract keywords in test to make sure the correct property is tested. 
						
					 
					
						2019-11-05 13:38:21 +01:00 
						 
				 
			
				
					
						
							
							
								chriseth 
							
						 
					 
					
						
						
						
						
							
						
						
							7c258873bd 
							
						 
					 
					
						
						
							
							Add some more abstract keywords in test to make sure the correct property is tested.  
						
						
						
					 
					
						2019-11-04 17:26:38 +01:00 
						 
				 
			
				
					
						
							
							
								Daniel Kirchner 
							
						 
					 
					
						
						
						
						
							
						
						
							3321fc56ea 
							
						 
					 
					
						
						
							
							Split fallback function and introduce "fallback()" and "receive()" syntax.  
						
						
						
					 
					
						2019-11-04 17:17:58 +01:00 
						 
				 
			
				
					
						
							
							
								Alexander Arlt 
							
						 
					 
					
						
						
						
						
							
						
						
							cd3ad73b5a 
							
						 
					 
					
						
						
							
							Update tests.  
						
						
						
					 
					
						2019-11-01 14:54:47 -05: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