Merge pull request #10009 from ethereum/enable-4-passing-function-call-inheritance-semantic-tests-via-yul

Enable the four semantic tests from `functionCall.inheritance` that now pass via Yul
This commit is contained in:
chriseth 2020-10-12 15:21:16 +02:00 committed by GitHub
commit 939d1d3293
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 1 deletions

View File

@ -9,5 +9,7 @@ contract Child is Base {
return f(n);
}
}
// ====
// compileViaYul: also
// ----
// g(uint256): 4 -> 8

View File

@ -22,6 +22,8 @@ contract Child is Base {
return s(n);
}
}
// ====
// compileViaYul: also
// ----
// g(uint256): 4 -> 12
// h(uint256): 4 -> 16

View File

@ -25,6 +25,8 @@ contract Child is Base {
return BaseBase.s(n);
}
}
// ====
// compileViaYul: also
// ----
// g(uint256): 4 -> 8
// k(uint256): 4 -> 16

View File

@ -9,6 +9,7 @@ contract Child is Base {
return Base.f(n);
}
}
// ====
// compileViaYul: also
// ----
// g(uint256): 4 -> 8