lexical-lsp / lexical

Lexical is a next-generation elixir language server
779 stars 77 forks source link

Completions: Handled nil origin and full name #689

Closed scohen closed 2 months ago

scohen commented 2 months ago

We received a crash bug that indicated that elixir sense can return nil in the origin of its results (this is why having structs is nice), which wasn't handled by lexical.

The fix is to ensure that origin and full_name are binary. Fixes #686