From 9dc7f5de4a8a4838a5f09ce7c4e0fa9a1a2373a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kamil=20=C5=9Aliwak?= Date: Mon, 12 Oct 2020 15:10:16 +0200 Subject: [PATCH] Enable 4 semantic tests from functionCall.inheritance that now work via Yul - Looks like something overlooked in one of the recently merged PRs. --- .../semanticTests/functionCall/inheritance/call_base.sol | 2 ++ .../semanticTests/functionCall/inheritance/call_base_base.sol | 2 ++ .../functionCall/inheritance/call_base_base_explicit.sol | 2 ++ .../functionCall/inheritance/call_base_explicit.sol | 3 ++- 4 files changed, 8 insertions(+), 1 deletion(-) diff --git a/test/libsolidity/semanticTests/functionCall/inheritance/call_base.sol b/test/libsolidity/semanticTests/functionCall/inheritance/call_base.sol index 8f0e93ddb..5201f3e5c 100644 --- a/test/libsolidity/semanticTests/functionCall/inheritance/call_base.sol +++ b/test/libsolidity/semanticTests/functionCall/inheritance/call_base.sol @@ -9,5 +9,7 @@ contract Child is Base { return f(n); } } +// ==== +// compileViaYul: also // ---- // g(uint256): 4 -> 8 diff --git a/test/libsolidity/semanticTests/functionCall/inheritance/call_base_base.sol b/test/libsolidity/semanticTests/functionCall/inheritance/call_base_base.sol index 8578a6707..5c28b7818 100644 --- a/test/libsolidity/semanticTests/functionCall/inheritance/call_base_base.sol +++ b/test/libsolidity/semanticTests/functionCall/inheritance/call_base_base.sol @@ -22,6 +22,8 @@ contract Child is Base { return s(n); } } +// ==== +// compileViaYul: also // ---- // g(uint256): 4 -> 12 // h(uint256): 4 -> 16 diff --git a/test/libsolidity/semanticTests/functionCall/inheritance/call_base_base_explicit.sol b/test/libsolidity/semanticTests/functionCall/inheritance/call_base_base_explicit.sol index f327b3f28..30d094918 100644 --- a/test/libsolidity/semanticTests/functionCall/inheritance/call_base_base_explicit.sol +++ b/test/libsolidity/semanticTests/functionCall/inheritance/call_base_base_explicit.sol @@ -25,6 +25,8 @@ contract Child is Base { return BaseBase.s(n); } } +// ==== +// compileViaYul: also // ---- // g(uint256): 4 -> 8 // k(uint256): 4 -> 16 diff --git a/test/libsolidity/semanticTests/functionCall/inheritance/call_base_explicit.sol b/test/libsolidity/semanticTests/functionCall/inheritance/call_base_explicit.sol index 00037f601..3d9efafef 100644 --- a/test/libsolidity/semanticTests/functionCall/inheritance/call_base_explicit.sol +++ b/test/libsolidity/semanticTests/functionCall/inheritance/call_base_explicit.sol @@ -9,6 +9,7 @@ contract Child is Base { return Base.f(n); } } +// ==== +// compileViaYul: also // ---- // g(uint256): 4 -> 8 -