mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
10 lines
223 B
Solidity
10 lines
223 B
Solidity
interface I {
|
|
function g() external pure;
|
|
}
|
|
|
|
contract C {
|
|
using {I.g} for uint;
|
|
}
|
|
// ----
|
|
// TypeError 4167: (73-76): Only file-level functions and library functions can be attached to a type in a "using" statement
|