solidity/test/libsolidity/syntaxTests/errors/selector_on_instance.sol

8 lines
179 B
Solidity
Raw Normal View History

2021-01-28 11:56:22 +00:00
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().