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
{{ message }}
Repository navigation
Formatting strips a valid UTF-8 byte-order mark #2336
Format a valid UTF-8 .bend file saved with a byte-order mark in bend2-fmt-lsp. I also ran bend main.bend --check-only before formatting; it passed.
What happened
The formatted replacement starts with import Base instead of the original U+FEFF followed by import Base. Formatting spacing shouldn't change how the file was saved. The opening bytes should still be ef bb bf.
Activity