mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			7 lines
		
	
	
		
			180 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			7 lines
		
	
	
		
			180 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
pragma abicoder               v2;
 | 
						|
contract Test {
 | 
						|
    function f(uint256[] calldata s) external { s[0] = 4; }
 | 
						|
}
 | 
						|
// ----
 | 
						|
// TypeError 6182: (98-102): Calldata arrays are read-only.
 |