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
Fix crash when completing at beginning of property name preceded by JSDoc
Fixed two issues:
1. Variable shadowing bug in getRelevantTokens where contextToken was declared with := instead of assigned with =, causing it to remain nil
2. Added nil checks in tryGetClassLikeCompletionSymbols to handle cases where contextToken is nil
These changes prevent the nil pointer dereference crash reported in the issue.
Co-authored-by: DanielRosenwasser <[email protected]>
0 commit comments