solidity/test/libsolidity/syntaxTests/errors/selector_on_instance.sol
2021-03-30 21:15:18 +02:00

8 lines
179 B
Solidity

error E();
contract C {
bytes4 t = E().selector;
}
// ----
// TypeError 9582: (40-52): Member "selector" not found or not visible after argument-dependent lookup in tuple().