-
Notifications
You must be signed in to change notification settings - Fork 57
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
Possible bugs on resolving type alias to record type #349
Labels
bug
Something isn't working
Comments
I think the first part of this issue is a duplicate of #310. |
cristianoc
added a commit
that referenced
this issue
Feb 8, 2022
cristianoc
added a commit
that referenced
this issue
Feb 8, 2022
cristianoc
added a commit
that referenced
this issue
Aug 31, 2022
Confirming this is still the case, with a test be92c6c |
cristianoc
added a commit
that referenced
this issue
Aug 31, 2022
The hovering part is done here: #560 The completion part is still open. |
cristianoc
added a commit
that referenced
this issue
Aug 31, 2022
cristianoc
added a commit
that referenced
this issue
Aug 31, 2022
cristianoc
added a commit
that referenced
this issue
Aug 31, 2022
Completion part also done. |
cristianoc
added a commit
that referenced
this issue
Sep 1, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version:
1.2.0
Related: #311
I think I've found several bugs around type alias to record type.
Assume we have the following code:
When I hover on
content
inlet x1: foo<bar> = { content: { age: 42 } }
, it shows'a
instead ofbar
.'a
.x1.content.
.When I hover on
content
inlet x2: foobar = { content: { age: 42 } }
, it showsfoo<'a>
instead ofbar
.content
does not have typefoo<'a>
.x2.content.
.x2.content
has typefoo<'a>
it should providecontent
as autocompletion.age
inx2.content.age
it showsint
, which is correct.The text was updated successfully, but these errors were encountered: