mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			8 lines
		
	
	
		
			287 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			287 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
|  contract C {
 | |
|         function h ( bool flag ) public returns ( bool c ) {
 | |
|                 mapping ( string => uint24 ) [ 1 ] memory val ;
 | |
|         }
 | |
| }
 | |
| // ----
 | |
| // TypeError 4061: (91-136): Type mapping(string => uint24)[1] is only valid in storage because it contains a (nested) mapping.
 |