On Thu, 3 Jan 2019 11:25:13 -0800 Ryan Winchester <he...@ryanwinchester.ca> wrote: > Have the formatter change it to an if/else 😈, or just leave it for tools > like Credo to yell at you for an unless/else.
This is definitely something the formatter should do. Formatter shouldn't change the semantics at all, and the AST should remain the same before and after the formatting. >From the formatter documentation: • --check-equivalent - checks if the files after formatting have the same AST as before formatting. If the ASTs are not equivalent, it is a bug in the code formatter. This option is useful if you suspect you have ran into a formatter bug and you would like confirmation. -- You received this message because you are subscribed to the Google Groups "elixir-lang-core" group. To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-core+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/20190104075444.30c1e2d7.eksperimental%40autistici.org. For more options, visit https://groups.google.com/d/optout.