slither
slither copied to clipboard
When handling internal function pointers, information loss can occur.
Describe the issue:
When handling internal function pointers, information about function visibility (internal, external) can be lost.
Code example to reproduce the issue:
contract C {
function() internal returns (uint) a;
}
Version:
0.10.3
Relevant log output:
The type of a is as follows:
variable.type: function() returns(uint256)
However, I think it should be function() internal returns(uint256)