azdavis / millet

A language server for Standard ML.
https://azdavis.net/posts/millet
Apache License 2.0
196 stars 12 forks source link

Crash on deleting ≤, ≥, or ≠ #22

Closed ashermkn1 closed 1 year ago

ashermkn1 commented 1 year ago

Environment

Steps to reproduce

Simply type any character with more than one Unicode value in it (such as ≥, ≤, ≠, etc.) and then delete it. Millet will crash

EDIT: This has now happened a few times without typing one of these characters, but I am still not sure why, trying to figure it out.

Expected behavior

I'm honestly not sure. I only was using it in my function specifications (150 woot), not the actual functions.

Actual behavior

thread 'main' panicked at 'assertion failed: self.is_char_boundary(n)'

azdavis commented 1 year ago

Should be fixed in v0.7.5