We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When resolving types, if generics are involved, the LSP usually cannot find the real type.
Examples:
Access path where a funciton returns wrapped Generic.
module app; import std::collections; struct Home { List(<Room>) rooms; } struct Room { String name; } fn void Room.paint() {} fn void main() { Home home; home.rooms.get(0).paint(); // <--- get(0) returns a Room! }
Aliases not resolved when interacting with a generic
module app; import std::collections; def RoomList = List(<Room>); struct Room { String name; } fn void Room.paint() {} fn void main() { RoomList rooms; rooms.get(0).paint(); // <--- Here, paint() is never found because the indirection caused because of definition. }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When resolving types, if generics are involved, the LSP usually cannot find the real type.
Examples:
Access path where a funciton returns wrapped Generic.
Aliases not resolved when interacting with a generic
The text was updated successfully, but these errors were encountered: