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

Broken indentation when using $foo.method: bar syntax #21

Open
AlexDaniel opened this issue Jul 18, 2019 · 0 comments
Open

Broken indentation when using $foo.method: bar syntax #21

AlexDaniel opened this issue Jul 18, 2019 · 0 comments
Labels
bug indentation Issues involving indentation

Comments

@AlexDaniel
Copy link
Member

With the given code, possible ways to indent it are:

my $resp = await Cro::HTTP::Client.patch: $url, :$headers,
           :%body, content-type => application/json;

Or:

my $resp = await Cro::HTTP::Client.patch: $url, :$headers,
                                          :%body, content-type => application/json;

However, perl6-mode does this:

my $resp = await Cro::HTTP::Client.patch: $url, :$headers,
:%body, content-type => application/json;
@treyharris treyharris added bug indentation Issues involving indentation labels Jul 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug indentation Issues involving indentation
Projects
None yet
Development

No branches or pull requests

2 participants