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

Formatted call exceeds max line length #892

Open
JonasWanke opened this issue Jan 18, 2024 · 0 comments
Open

Formatted call exceeds max line length #892

JonasWanke opened this issue Jan 18, 2024 · 0 comments
Labels
P: Compiler: Formatter Package: Candy's formatter T: Feature Type: New Features T: Fix Type: Bug Fixes

Comments

@JonasWanke
Copy link
Member

JonasWanke commented Jan 18, 2024

Input

checkEquals
  decodeFile "aaa,bbb,ccctext.newlinezzz,yyy,xxxtext.newline"
  (("aaa", "bbb", "ccc"), ("zzz", "yyy", "xxx"))

Actual Output

checkEquals (decodeFile "aaa,bbb,ccctext.newlinezzz,yyy,xxxtext.newline") (("aaa", "bbb", "ccc"), ("zzz", "yyy", "xxx"))

Desired Output

checkEquals
  decodeFile "aaa,bbb,ccctext.newlinezzz,yyy,xxxtext.newline"
  (("aaa", "bbb", "ccc"), ("zzz", "yyy", "xxx"))

Relevant Logs

No response

Additional Information

No response

        // checkEquals
        //   decodeFile "aaa,bbb,ccctext.newlinezzz,yyy,xxxtext.newline"
        //   (("aaa", "bbb", "ccc"), ("zzz", "yyy", "xxx"))
        test(
            "checkEquals\n  decodeFile \"aaa,bbb,ccctext.newlinezzz,yyy,xxxtext.newline\"\n  ((\"aaa\", \"bbb\", \"ccc\"), (\"zzz\", \"yyy\", \"xxx\"))\n",
            "checkEquals\n  decodeFile \"aaa,bbb,ccctext.newlinezzz,yyy,xxxtext.newline\"\n  ((\"aaa\", \"bbb\", \"ccc\"), (\"zzz\", \"yyy\", \"xxx\"))\n",
        );
@JonasWanke JonasWanke added P: Compiler: Formatter Package: Candy's formatter T: Fix Type: Bug Fixes T: Feature Type: New Features labels Jan 18, 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: Feature Type: New Features T: Fix Type: Bug Fixes
Projects
Status: No status
Development

No branches or pull requests

1 participant