Merge pull request #10388 from ethereum/forwardRevertOnCreate

[Sol->Yul] Forward failure for creation.
This commit is contained in:
chriseth
2020-11-25 10:39:54 +01:00
committed by GitHub
7 changed files with 26 additions and 5 deletions
@@ -16,7 +16,6 @@ contract B {
// ====
// compileViaYul: also
// compileToEwasm: also
// ----
// testIt() ->
// test() -> 2
@@ -19,5 +19,7 @@ contract Test {
new C();
}
}
// ====
// compileViaYul: also
// ----
// f() -> FAILURE
@@ -19,5 +19,7 @@ contract Test {
new C();
}
}
// ====
// compileViaYul: also
// ----
// f() -> FAILURE