mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	And added a proper error message when constant types containing (nested) mapping types are used.
		
			
				
	
	
		
			5 lines
		
	
	
		
			120 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			5 lines
		
	
	
		
			120 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
struct S { uint x; }
 | 
						|
S constant s;
 | 
						|
// ----
 | 
						|
// TypeError 9259: (21-33): Constants of non-value type not yet implemented.
 |