Merge pull request #12604 from ethereum/develop

Merge develop into breaking
This commit is contained in:
chriseth
2022-01-31 17:59:03 +01:00
committed by GitHub
206 changed files with 3675 additions and 1271 deletions
@@ -1,5 +1,5 @@
contract C {
modifier revertIfNoReturn() {
modifier alwaysRevert() {
_;
revert();
}
@@ -9,10 +9,10 @@ contract C {
}
struct S { uint a; }
S s;
function f(bool flag) revertIfNoReturn() internal view {
function f(bool flag) alwaysRevert() internal view {
if (flag) s;
}
function g(bool flag) revertIfNoReturn() ifFlag(flag) internal view {
function g(bool flag) alwaysRevert() ifFlag(flag) internal view {
s;
}