You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
imo even though the usage is wrong it seems odd to purposefully make this not work, the try is wrong not the .foo. i see it as being similar to other kinds of fault tolerance LSPs do like giving completions on incomplete code.
Zig Version
0.15.0-dev.441+c1649d586
ZLS Version
0.15.0-dev.128+dc1f664b
Client / Code Editor / Extensions
No response
Steps to Reproduce and Observed Behavior
Go to Definition works on all three occurrences of
.foo
in the following code:Technically, the Zig compiler resolves the second
.foo
as anEnum
but gives an error about it not being a function:However, the third
.foo
is not resolved as anEnum
at all:Expected Behavior
Go to Definition should not work on
.foo
insidetry .foo
Relevant log output
The text was updated successfully, but these errors were encountered: