Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When handling internal function pointers, information loss can occur. #2527

Open
Subway2023 opened this issue Aug 11, 2024 · 0 comments
Open
Labels
bug-candidate Bugs reports that are not yet confirmed

Comments

@Subway2023
Copy link

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 Subway2023 added the bug-candidate Bugs reports that are not yet confirmed label Aug 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-candidate Bugs reports that are not yet confirmed
Projects
None yet
Development

No branches or pull requests

1 participant