solidity/test/libsolidity/syntaxTests/events/event_overload_named_arguments_ambiguous.sol

11 lines
246 B
Solidity
Raw Normal View History

contract C {
event e(uint u, string s);
event e(string s, uint u);
function call() public {
emit e({u: 2, s: "abc"});
}
}
// ----
// TypeError 4487: (118-119): No unique declaration found after argument-dependent lookup.