mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	Issue : 11610 : Test cases updated, Changelog.md file updated to include change on 0.8.11
		
			
				
	
	
		
			15 lines
		
	
	
		
			338 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			338 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
pragma abicoder               v2;
 | 
						|
 | 
						|
contract test {
 | 
						|
    struct S {
 | 
						|
        T t;
 | 
						|
    }
 | 
						|
    struct T {
 | 
						|
        mapping (uint => uint) k;
 | 
						|
    }
 | 
						|
    function f(S calldata b) external {
 | 
						|
    }
 | 
						|
}
 | 
						|
// ----
 | 
						|
// TypeError 4103: (155-167): Types containing (nested) mappings can only be parameters or return variables of internal or library functions.
 |