[isoltest] Enforcing compileViaYul to be set if test can pass via yul

This commit is contained in:
Djordje Mijovic
2020-05-05 00:38:13 +02:00
committed by chriseth
parent cb32530b6b
commit 8b7f87eed5
127 changed files with 412 additions and 145 deletions
@@ -2,5 +2,7 @@ contract test {
function a(uint a, uint b, uint c) public returns (uint r) { r = a * 100 + b * 10 + c * 1; }
function b() public returns (uint r) { r = a({a: 1, b: 2, c: 3}); }
}
// ====
// compileViaYul: also
// ----
// b() -> 123