Skip to content

Improve formatter reliability by handling nil cases explicitly#236

Merged
deviaze merged 1 commit into
mainfrom
unhandled-string-byte-235
Jul 3, 2026
Merged

Improve formatter reliability by handling nil cases explicitly#236
deviaze merged 1 commit into
mainfrom
unhandled-string-byte-235

Conversation

@deviaze

@deviaze deviaze commented Jul 3, 2026

Copy link
Copy Markdown
Collaborator

Fixes multiple bugs caused by incorrect usage of functions returning ...T that are incorrectly not required to be nilchecked by the Luau type checker. Also fixes a bad error message when encountering runtime errors within the formatter by displaying a Rust file instead of the Luau formatter.

…at return ...T that cause runtime errors within the formatter at runtime. Renames output_formatter.luau to just formatter.luau
@deviaze deviaze linked an issue Jul 3, 2026 that may be closed by this pull request
@deviaze deviaze merged commit 2edcdbc into main Jul 3, 2026
7 of 12 checks passed
@deviaze deviaze deleted the unhandled-string-byte-235 branch July 3, 2026 04:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

unable to format value while using print or pp

1 participant