Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Single-line struct exceeds max width #936

Open
JonasWanke opened this issue Feb 8, 2024 · 0 comments
Open

Single-line struct exceeds max width #936

JonasWanke opened this issue Feb 8, 2024 · 0 comments
Labels
P: Compiler: Formatter Package: Candy's formatter T: Fix Type: Bug Fixes

Comments

@JonasWanke
Copy link
Member

JonasWanke commented Feb 8, 2024

Input

ComplexNumber [
  Real: value | real | fixedDecimal.negate,
  Imaginary: value | imaginary | fixedDecimal.negate,
]

Actual Output

ComplexNumber [Real: value | real | fixedDecimal.negate, Imaginary: value | imaginary | fixedDecimal.negate]

Desired Output

ComplexNumber [
  Real: value | real | fixedDecimal.negate,
  Imaginary: value | imaginary | fixedDecimal.negate,
]

Relevant Logs

No response

Additional Information

No response

        // ComplexNumber [
        //   Real: value | real | fixedDecimal.negate,
        //   Imaginary: value | imaginary | fixedDecimal.negate,
        // ]
        test(
            "ComplexNumber [\n  Real: value | real | fixedDecimal.negate,\n  Imaginary: value | imaginary | fixedDecimal.negate,\n]\n",
            "ComplexNumber [\n  Real: value | real | fixedDecimal.negate,\n  Imaginary: value | imaginary | fixedDecimal.negate,\n]\n",
        );
@JonasWanke JonasWanke added T: Fix Type: Bug Fixes P: Compiler: Formatter Package: Candy's formatter labels Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P: Compiler: Formatter Package: Candy's formatter T: Fix Type: Bug Fixes
Projects
Status: No status
Development

No branches or pull requests

1 participant