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
Describe the bug
The language server may crash when hovering over a macro that had been opened and closed in VSCode.
To Reproduce
Steps to reproduce the behavior:
Open a file with an external macro
Go to macro definition
Close the newly opened window
Hover over the macro in the opencode file
Expected behavior
Do not crash and show useful information about the macro instead.
Additional context text_data_ref_t looks fundamentally broken - indices are one time computed, but the string content can change.
File versioning should probably be utilized (get_version())
The text was updated successfully, but these errors were encountered:
Describe the bug
The language server may crash when hovering over a macro that had been opened and closed in VSCode.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Do not crash and show useful information about the macro instead.
Additional context
text_data_ref_t
looks fundamentally broken - indices are one time computed, but the string content can change.File versioning should probably be utilized (get_version())
The text was updated successfully, but these errors were encountered: