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

Highlight arguments in constructed contracts #112

Closed
cleanunicorn opened this issue Sep 12, 2022 · 0 comments · Fixed by tintinweb/solidity-workspace#1 or #117
Closed

Highlight arguments in constructed contracts #112

cleanunicorn opened this issue Sep 12, 2022 · 0 comments · Fixed by tintinweb/solidity-workspace#1 or #117

Comments

@cleanunicorn
Copy link

Having a contract that inherits another contract and expects some constructor arguments, when the parent's arguments are passed, the arguments are not highlighted.

contract Parent {
    constructor (uint256 arg1_) {}
}

contract Child is Parent {
    constructor (
        uint256 arg1_, 
        uint256 arg2_
    ) 
    // does not highlight `arg1_`
    Parent(arg1_) {
        // highlights `arg2_`
        arg2_;
    }
}

image

I would expect to see arg1_ highlighted, similar to how arg2_ is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant