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
There are many cases, such as include statements, where a user might add/refactor into an alias that's the same as the name of the thing they're aliasing, e.g. from "list" include List as List. It'd be good to have the formatter remove the redundant alias.
One thing to consider: a case like let foo = (param as param) => ... is a typechecking error, but formatting the code would make the error go away. We'll need to decide if this is something acceptable for the formatter to fix.
The text was updated successfully, but these errors were encountered:
There are many cases, such as include statements, where a user might add/refactor into an alias that's the same as the name of the thing they're aliasing, e.g.
from "list" include List as List
. It'd be good to have the formatter remove the redundant alias.One thing to consider: a case like
let foo = (param as param) => ...
is a typechecking error, but formatting the code would make the error go away. We'll need to decide if this is something acceptable for the formatter to fix.The text was updated successfully, but these errors were encountered: