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

🐛 Constant crashes when editing css files #3256

Closed
1 task done
ktdd opened this issue Jun 22, 2024 · 0 comments · Fixed by #3257 · 4 remaining pull requests
Closed
1 task done

🐛 Constant crashes when editing css files #3256

ktdd opened this issue Jun 22, 2024 · 0 comments · Fixed by #3257 · 4 remaining pull requests
Labels
A-Parser Area: parser L-CSS Language: CSS S-Bug-confirmed Status: report has been confirmed as a valid bug

Comments

@ktdd
Copy link

ktdd commented Jun 22, 2024

Environment information

CLI:
  Version:                      1.8.2
  Color support:                true

Platform:
  CPU Architecture:             x86_64
  OS:                           windows

Environment:
  BIOME_LOG_DIR:                unset
  NO_COLOR:                     unset
  TERM:                         unset
  JS_RUNTIME_VERSION:           unset
  JS_RUNTIME_NAME:              unset
  NODE_PACKAGE_MANAGER:         unset

Biome Configuration:
  Status:                       Loaded successfully
  Formatter disabled:           false
  Linter disabled:              false
  Organize imports disabled:    true
  VCS disabled:                 true

Workspace:
  Open Documents:               0

What happened?

When editing a css file, Biome crashes constantly with error:

| Source Location: D:\a\biome\biome\crates\biome_parser\src\diagnostic.rs:353:14
| Thread Name: tokio-runtime-worker
| Message: Expected token to be a punctuation or keyword.

Rule example:

.formTable tbody td {
    font-size: 14px;
    border-left: 1px #e1e1e1 solid;
    border-right: 1px #e1e1e1 solid;
}

Crash happens when removing e1e1e1 from border-left and only leaving #. I have CSS files ignored in my config but it doesn't help.

Expected result

It should not crash.

Code of Conduct

  • I agree to follow Biome's Code of Conduct
@Sec-ant Sec-ant added A-Parser Area: parser L-CSS Language: CSS S-Bug-confirmed Status: report has been confirmed as a valid bug labels Jun 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment