Skip to content

Code formatted on Elixir 1.14 is considered ill-formatted by 1.15 #12756

@michaelklishin

Description

@michaelklishin

Elixir and Erlang/OTP versions

Elixir: 1.14.5, 1.15.2, running on Erlang 25.3.x or 26.x. I don't think the specific patch versions matter here.

Operating system

macOS, Linux

Current behavior

When mix format is used on RabbitMQ CLI tools on Elixir 1.14, then mix --check-formatted on 1.15.2 will fail as if the code was ill-formatted.

Maybe this is expected, but it is very annoying to developers who support multiple Elixir release series. They will have to require 1.15 everywhere, and it can be a hell of a headache to provision the latest and greatest Elixir on some older distributions, for example.

Expected behavior

mix --check-formatted on Elixir 1.15 accepts what mix format on 1.14 produces.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions