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
Hi there! I'm upgrading my codebase to Rescript 11 and ran into an old file that has its semantic meaning changed when the formatter is run on it multiple times.
The text was updated successfully, but these errors were encountered:
mrmurphy
changed the title
Rescript formatting unstable and producing semantic deviations
Rescript formatting unstable and producing semantic deviations for inline functions in pipe chains
May 3, 2024
Hi there! I'm upgrading my codebase to Rescript 11 and ran into an old file that has its semantic meaning changed when the formatter is run on it multiple times.
Original snippet:
After saving the file once:
Notice that the parens around (a => ...) have been dropped
And after another save:
Notice that the compiler now thinks that DB.Main.Run should be called on
a
directly, instead of on the result of the function thata
belongs to.Thank you for filing! Check list:
The text was updated successfully, but these errors were encountered: