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

[Bug]: The completions for union records are missing when we ignore the value #43706

Open
nipunayf opened this issue Dec 12, 2024 · 0 comments
Open
Labels
Area/Completion Issues related to Language Server Auto Completions Team/LanguageServer Language Server Implementation related issues. #Compiler Type/Bug

Comments

@nipunayf
Copy link
Contributor

Description

While completions are provided when we define a variable, they do not appear when we ignore the value.

Screen.Recording.2024-12-12.at.5.41.53.PM.mov

Steps to Reproduce

Get the completions for the following cursor position.

type First record {|
    string val;
|};

type Second record {|
    string a;
    int b;
|};

First|Second _ = {<CURSOR>};

Affected Version(s)

2201.11.0-rc1

OS, DB, other environment details and versions

No response

Related area

-> Compilation

Related issue(s) (optional)

No response

Suggested label(s) (optional)

No response

Suggested assignee(s) (optional)

No response

@nipunayf nipunayf added Type/Bug Team/LanguageServer Language Server Implementation related issues. #Compiler Area/Completion Issues related to Language Server Auto Completions labels Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area/Completion Issues related to Language Server Auto Completions Team/LanguageServer Language Server Implementation related issues. #Compiler Type/Bug
Projects
None yet
Development

No branches or pull requests

1 participant