Merge pull request #10756 from ethereum/fixModifierLookup

Fix modifier lookup
This commit is contained in:
chriseth
2021-01-14 11:28:26 +01:00
committed by GitHub
3 changed files with 23 additions and 9 deletions
@@ -12,6 +12,8 @@ contract C is A {
return 10;
}
}
// ====
// compileViaYul: also
// ----
// x() -> 7
// f() -> 9
@@ -15,6 +15,8 @@ contract C {
r = 10;
}
}
// ====
// compileViaYul: also
// ----
// x() -> 0x00
// f() -> 1, 9