Make external library functions accessible.

This commit is contained in:
chriseth
2018-03-13 17:18:46 +01:00
parent 8ad0fb3be3
commit eecc26deec
5 changed files with 33 additions and 2 deletions
@@ -0,0 +1,14 @@
library L {
function f(uint) pure external {}
}
contract C {
using L for *;
function f() public pure {
L.f(2);
uint x;
x.f();
}
}
// ----