mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			19 lines
		
	
	
		
			501 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			501 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
abstract contract I {
 | 
						|
    function a() internal view virtual returns(uint256);
 | 
						|
}
 | 
						|
 | 
						|
abstract contract C is I {
 | 
						|
    function f() public view returns(uint256) {
 | 
						|
        return I.a();
 | 
						|
    }
 | 
						|
}
 | 
						|
 | 
						|
abstract contract D is I {
 | 
						|
    function f() public view returns(uint256) {
 | 
						|
        return super.a();
 | 
						|
    }
 | 
						|
}
 | 
						|
// ----
 | 
						|
// TypeError 7501: (172-177): Cannot call unimplemented base function.
 | 
						|
// TypeError 9582: (278-285): Member "a" not found or not visible after argument-dependent lookup in type(contract super D).
 |