Directly restart processing calling functions.

This commit is contained in:
chriseth
2021-06-14 13:54:05 +02:00
parent a2afe8baeb
commit 5b4a2f66e1
5 changed files with 59 additions and 50 deletions
@@ -0,0 +1,18 @@
==== Source: a ====
import "b";
contract Test is Bar {}
==== Source: b ====
library Foo {
function nop() internal {}
}
contract Bar {
function example() public returns (uint256) {
foo();
return 0;
}
function foo() public {
Foo.nop();
}
}
@@ -0,0 +1,16 @@
contract Bar {
function example() public {
foo();
return;
}
function foo() internal {
Foo.nop();
}
}
contract Y is Bar {}
library Foo {
function nop() internal {}
}