mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
10 lines
233 B
Solidity
10 lines
233 B
Solidity
library L {
|
|
event E(uint);
|
|
}
|
|
|
|
function f() {
|
|
abi.encodeCall(L.E, (1));
|
|
}
|
|
// ----
|
|
// TypeError 3509: (68-71): Expected regular external function type, or external view on public function. Cannot use events for abi.encodeCall.
|