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
erlfmt fails with the following error message: "formatter result invalid, could not reparse".
This code is ill-typed, but seems syntactically correct to me, and is accepted just fine by erlc.
The problem seems to be specifically when the left-side of a map update is a number, since replacing 2 by {0 => 1} is enough for erlfmt to format this code.
The text was updated successfully, but these errors were encountered:
On the following code:
erlfmt fails with the following error message: "formatter result invalid, could not reparse".
This code is ill-typed, but seems syntactically correct to me, and is accepted just fine by erlc.
The problem seems to be specifically when the left-side of a map update is a number, since replacing
2
by{0 => 1}
is enough for erlfmt to format this code.The text was updated successfully, but these errors were encountered: