mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			460 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			460 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
| contract C {
 | |
|     function value(uint256) public returns (uint) { return 1; }
 | |
|     function value(uint8) public returns (uint) { return 1; }
 | |
| 
 | |
|     function f() public returns (C) { return this; }
 | |
| 
 | |
|     function g() internal returns (function(uint8) internal returns(uint))
 | |
|     {
 | |
|         return f().value;
 | |
|     }
 | |
| }
 | |
| // ----
 | |
| // TypeError 6675: (290-299): Member "value" not unique after argument-dependent lookup in contract C - did you forget the "payable" modifier?
 |