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

Commented entry in Dictionary in Record formats strangely #188

Open
brekk opened this issue Aug 26, 2024 · 0 comments
Open

Commented entry in Dictionary in Record formats strangely #188

brekk opened this issue Aug 26, 2024 · 0 comments
Labels
bug 🦟 it's broken

Comments

@brekk
Copy link
Contributor

brekk commented Aug 26, 2024

Strange one.

alpha = {
  careers: {{
    "a": "ASTRONAUT",
    "b": "BEAST",
    "c": "COSMONAUT",
    // "d": "DEVIL",
    "e": "ENGINEER",
    "f": "FIREFIGHTER",
    "g": "GHOST",
  }},
}

main = () => {}

☝🏼 If this gets auto-formatted, the commented value gets duplicated underneath alpha. If you format multiple times, it duplicates multiple times.

@brekk brekk added the bug 🦟 it's broken label Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🦟 it's broken
Projects
None yet
Development

No branches or pull requests

1 participant