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
I noticed that calls to super methods, are referred as external in graph as explained in Legend.
Is external in legend referred to solidity "external" methods or it refers to methods that are not into the contract itself?
If method is called only by name, instead, it is represented as internal but link to a method that seems to be inside the contract instead of referring the inherited one.
To reproduce check that contract.
abstractcontractInherited {
function _print() internalpurereturns(stringmemorystr) {
str ='Returned from Inherited';
}
}
User super to call _print.
contractDerivedisInherited {
function print() publicpurereturns(stringmemorystr) {
str =super._print();
}
}
Use the method name.
contractDerivedisInherited {
function print() publicpurereturns(stringmemorystr) {
str =_print();
}
}
The text was updated successfully, but these errors were encountered:
I noticed that calls to super methods, are referred as external in graph as explained in Legend.
Is external in legend referred to solidity "external" methods or it refers to methods that are not into the contract itself?
If method is called only by name, instead, it is represented as internal but link to a method that seems to be inside the contract instead of referring the inherited one.
To reproduce check that contract.
_print
.The text was updated successfully, but these errors were encountered: