mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			318 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			318 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
contract C {
 | 
						|
    string[] s;
 | 
						|
    function f() public pure {
 | 
						|
        string[] memory m;
 | 
						|
        abi.encodePacked(m);
 | 
						|
    }
 | 
						|
    function g() public pure {
 | 
						|
        abi.encodePacked(s);
 | 
						|
    }
 | 
						|
}
 | 
						|
// ----
 | 
						|
// TypeError: (112-113): Type not supported in packed mode.
 | 
						|
// TypeError: (178-179): Type not supported in packed mode.
 |