You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
contract Base {
/// #if_succeeds true;
function foo() internal returns (uint) {}
}
/// #invariant foo() == 1;
contract Child is Base {
}
The foo function in the base will be renamed to __original_Base_foo and made private.
However in the instrumentation of Child we will try to use the interposed function (__original_Base_foo) which is no longer accessible in Child since its now private.
To fix this we should make interposed functions internal.
The text was updated successfully, but these errors were encountered:
Given this sample:
The
foo
function in the base will be renamed to__original_Base_foo
and made private.However in the instrumentation of
Child
we will try to use the interposed function (__original_Base_foo
) which is no longer accessible inChild
since its now private.To fix this we should make interposed functions internal.
The text was updated successfully, but these errors were encountered: