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
fmt_constructor_arguments_result in Fmt_ast is the relevant function here. Wonder if we should keep 'a . or opt to add some additional normalization logic.
The text was updated successfully, but these errors were encountered:
Thanks for the report! This should be fixed by #2518
This is a quick and dirty fix, though. Ideally, we'd separate the code that recognize what form of constructor we're formatting and the code that formats it.
This is usually done in the Sugar module. Contribution welcome :)
The example program:
gets formatted into:
producing unequal ASTs:
fmt_constructor_arguments_result
inFmt_ast
is the relevant function here. Wonder if we should keep'a .
or opt to add some additional normalization logic.The text was updated successfully, but these errors were encountered: