mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			253 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			253 B
		
	
	
	
		
			Solidity
		
	
	
	
	
	
==== Source: A ====
 | 
						|
function id(uint x) pure returns (uint) {
 | 
						|
    return x;
 | 
						|
}
 | 
						|
 | 
						|
==== Source: B ====
 | 
						|
import "A" as M;
 | 
						|
 | 
						|
contract C {
 | 
						|
    using { id } for uint;
 | 
						|
}
 | 
						|
// ----
 | 
						|
// DeclarationError 9589: (B:43-45): Identifier is not a function name or not unique.
 |