mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Allow library external functions to be bound with using for
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
library L {
|
||||
function externalFunction(uint) external pure {}
|
||||
function f() public pure {
|
||||
uint x;
|
||||
externalFunction(x);
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// DeclarationError 7576: (120-136): Undeclared identifier. "externalFunction" is not (or not yet) visible at this point.
|
||||
Reference in New Issue
Block a user