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
Jarred-Sumner
changed the title
zls panic index out of bounds: index 25365, len 9918 in src/analysis.zig:3165
zls panic index out of bounds: index 25365, len 9918Nov 11, 2023
@Techatrix yes it does! however, there are duplicates in the autocomplete list due to both usingnamespace struct implementing functions with the same call signatures
Zig Version
HEAD
Zig Language Server Version
HEAD
Steps to Reproduce
When the cursor is on
![image](https://private-user-images.githubusercontent.com/709451/282220845-4e705cd4-979c-4ce7-949c-0fd99630aee4.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzMjU5ODYsIm5iZiI6MTczOTMyNTY4NiwicGF0aCI6Ii83MDk0NTEvMjgyMjIwODQ1LTRlNzA1Y2Q0LTk3OWMtNGNlNy05NDljLTBmZDk5NjMwYWVlNC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjEyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMlQwMjAxMjZaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1mZjUwYTRmMmU2NWViM2Y1ZDc0YmE5YzI3NzM3OTc1Y2NlMmEyMjI0NTQ5NTE1MWM0ZGNjNWY1M2IzMTZmM2QwJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.0gteJITj7xe0LSa76TtpfOELuCQcyyGLrNscXOPtziM)
this
, it panics:Code: https://github.com/oven-sh/bun/blob/12802557dc69fbabb9400506bcc213dddd80baf1/src/bun.js/api/bun/socket.zig#L1139
Trace:
Expected Behavior
zls should be able to show completions for values from a
pub usingnamespace
.Actual Behavior
panic
The text was updated successfully, but these errors were encountered: