Skip to content
New issue

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

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

Already on GitHub? # to your account

No init parameters in initOf for contracts #254

Closed
xpyctumo opened this issue Feb 17, 2025 · 0 comments · Fixed by #258
Closed

No init parameters in initOf for contracts #254

xpyctumo opened this issue Feb 17, 2025 · 0 comments · Fixed by #258
Labels
bug Something isn't working or doesn't seem right lsp: completion `textDocument/` Completion Request
Milestone

Comments

@xpyctumo
Copy link
Contributor

There is no init params for ContractA while user start typing initOf

primitive Int;

contract ContractA {
    init(a: Int) {
        
    }
}

contract ContractB {
    
    init() {
        initOf <caret>
    } 
}

It should contains a: Int as init param for ContractA but it does not.

Image
@xpyctumo xpyctumo added bug Something isn't working or doesn't seem right lsp: signatureHelp `textDocument/` Signature Help Request lsp: completion `textDocument/` Completion Request and removed lsp: signatureHelp `textDocument/` Signature Help Request labels Feb 17, 2025
i582 added a commit that referenced this issue Feb 17, 2025
@i582 i582 added this to the v0.2.0 milestone Feb 17, 2025
@i582 i582 closed this as completed in #258 Feb 17, 2025
@i582 i582 closed this as completed in c9e82bc Feb 17, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working or doesn't seem right lsp: completion `textDocument/` Completion Request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants