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

Keywords are not properly formatted when used as methods #5

Open
OleksiiSmerdov opened this issue May 24, 2024 · 0 comments
Open

Keywords are not properly formatted when used as methods #5

OleksiiSmerdov opened this issue May 24, 2024 · 0 comments

Comments

@OleksiiSmerdov
Copy link

When it needs to use a keyword as a method, such as .with(), the script encloses it in whitespace and the code next to the keyword in curly braces.

LocalDate
    .parse("2018-12-06")
    .with(Month.MARCH)
    .with(TemporalAdjusters.lastDayOfMonth())

produces

LocalDate
    .parse("2018-12-06")
    . with (Month.MARCH) {
    . with (TemporalAdjusters.lastDayOfMonth())
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant