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
Thank you for the report: this is definitely not great behavior or user experience. Similar to Issue #59, I think the tool should throw an error and communicate to the user that it encountered invalid code in cases like this.
This came up when I was editing imports in a namespace and deleted the closing paren by mistake.
Example input:
Formatter output:
From what I can tell, this bug will happily delete thousands of lines of source code.
This occurred on version v0.12.0 of the formatter.
The text was updated successfully, but these errors were encountered: