slither icon indicating copy to clipboard operation
slither copied to clipboard

When handling internal function pointers, information loss can occur.

Open Subway2023 opened this issue 6 months ago • 0 comments

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)

Subway2023 avatar Aug 11 '24 02:08 Subway2023