2021-01-28 11:56:22 +00:00
|
|
|
error E(uint);
|
|
|
|
library L {
|
|
|
|
function f(uint) internal {}
|
|
|
|
}
|
|
|
|
contract C {
|
|
|
|
using L for E;
|
|
|
|
function f() public pure {
|
|
|
|
E.f();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// ----
|
2022-08-01 08:42:58 +00:00
|
|
|
// TypeError 5172: (91-92): Name has to refer to a user-defined type.
|