Use all referenced errors.

This commit is contained in:
chriseth
2021-03-30 21:15:46 +02:00
parent 1057fd5355
commit e877e2bba7
12 changed files with 170 additions and 24 deletions
@@ -3,4 +3,4 @@ contract test {
error tgeo();
}
// ----
// TypeError 4883: (0-52): Error signature hash collision for tgeo()
// TypeError 4883: (43-47): Error signature hash collision for tgeo()
@@ -0,0 +1,14 @@
library L {
error gsf();
}
contract test {
error tgeo();
function f(bool a) public {
if (a)
revert L.gsf();
else
revert tgeo();
}
}
// ----
// TypeError 4883: (57-61): Error signature hash collision for tgeo()