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

incorrect go-to-implementation for overloaded function #521

Open
0xalpharush opened this issue Oct 2, 2023 · 0 comments
Open

incorrect go-to-implementation for overloaded function #521

0xalpharush opened this issue Oct 2, 2023 · 0 comments
Labels
status:ready This issue is ready to be worked on type:bug Something isn't working

Comments

@0xalpharush
Copy link

When I go click go-to-definition on the following overloaded example, it points at the incorrect function definition and makes it appear as a recursive call (notice the number of parameters is different).

contract X {
    function overload(
        address _a,
        address _b,
        address _c,
        address _d,
        uint256 _e,
        uint256 _f,
        bytes memory _data
    ) internal returns (uint256) {
        return
            overload(
                _a,
                _b,
                _c,
                _d,
                msg.sender,
                _e,
                _f,
                _data
            );
    }
    function overload(
    address _a,
    address _b,
    address _c,
    address _d,
    address,
    uint256 _e,
    uint256 _f,
    bytes memory _data
) internal returns (uint256) {

}


}
Screenshot 2023-10-02 at 9 56 02 AM
@kanej kanej added type:bug Something isn't working status:ready This issue is ready to be worked on and removed status:triaging labels Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:ready This issue is ready to be worked on type:bug Something isn't working
Projects
Status: Todo
Development

No branches or pull requests

2 participants