Increase isFunctionCallExternal()
precision by using InferType
#171
Labels
isFunctionCallExternal()
precision by using InferType
#171
Above implementation would be more precise than pending implementation from #159, as it does not rely on typeString lookups.
However, implementing it as in above example is blocked due to failures of unit test. The
exprT
is resolved to a following:Here is the related Solidity sample:
This sample is a shortened version of sample in
external_calls.spec.ts
integration test. The reason of failure is that it would need more time and efforts to investigate how to handle such expressions in typing context to figure out that the member access result is an external function (that is somehow done by compiler and reflected in typeString).Current implementation seem to be fragile in edge-cases if we have struct with word
external
somewhere in the name, if also refered as an argument.The text was updated successfully, but these errors were encountered: