Include revert strings in IR

This commit is contained in:
Alex Beregszaszi
2021-01-14 18:45:12 +01:00
committed by chriseth
parent f9bfceccd1
commit 7c7fd22062
6 changed files with 20 additions and 6 deletions
@@ -4,6 +4,7 @@ contract C {
// ====
// EVMVersion: >=byzantium
// revertStrings: debug
// compileViaYul: also
// ----
// f(), 1 ether -> FAILURE, hex"08c379a0", 0x20, 34, "Ether sent to non-payable functi", "on"
// () -> FAILURE, hex"08c379a0", 0x20, 53, "Contract does not have fallback ", "nor receive functions"