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

Incorrect formatting of using EllipsisNotation: :.. #866

Open
lassepe opened this issue Aug 23, 2024 · 1 comment
Open

Incorrect formatting of using EllipsisNotation: :.. #866

lassepe opened this issue Aug 23, 2024 · 1 comment

Comments

@lassepe
Copy link

lassepe commented Aug 23, 2024

The package EllipsisNotation.jl exports the symbol .. which can be imported as using EllipsisNotation: :... However, JuliaFormatter will format that as using EllipsisNotation: : .. (not the extra space between : and ..) which is not valid syntax in Julia.

@jonniediegelman
Copy link

The formatter also gets this incorrect if you use parentheses like this, which should be valid:

using EllipsisNotation: (..)

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

2 participants