This commit is contained in:
chriseth
2019-09-23 17:22:56 +02:00
parent 6d6914f98f
commit 644a402166
34 changed files with 666 additions and 0 deletions
@@ -0,0 +1,11 @@
contract C {
function f() public returns (uint, uint) {
try this.f() {
} catch Error2() {
} catch abc() {
}
}
}
// ----
// TypeError: (93-119): Invalid catch clause name. Expected either `catch (...)` or `catch Error(...)`.
// TypeError: (120-143): Invalid catch clause name. Expected either `catch (...)` or `catch Error(...)`.