mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			10 lines
		
	
	
		
			303 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			303 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
contract A {
 | 
						|
    function f(uint[] calldata) external pure {}
 | 
						|
}
 | 
						|
contract B {
 | 
						|
    function f(uint[] memory) internal pure {}
 | 
						|
}
 | 
						|
contract C is A, B {}
 | 
						|
// ----
 | 
						|
// TypeError: (126-147): Derived contract must override function "f". Two or more base classes define function with same name and parameter types.
 |