-
-
Notifications
You must be signed in to change notification settings - Fork 406
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Zig Version
0.16.0-dev.1875+ec13e8eaa
ZLS Version
0.16.0-dev.83+4c6db3c3
Client / Code Editor / Extensions
No response
Steps to Reproduce and Observed Behavior
const @"null" = 0;
const opt = null<cursor>;goto definition, references, etc will take you to the @"null" declaration which is clearly wrong, hover happens to avoid this by specifically resolving primitives. ideally this could be solved in lookupSymbolGlobal so each request doesnt need to do the same logic, im not sure, is there any reason this couldnt work with tokens directly?
Expected Behavior
dont do that please π
Log Output
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working