biomejs/biome

๐Ÿ› Panic `Called 'unwrap' on an 'Absent' syntax`

Opened this issue ยท 0 comments

Environment information

CLI:
  Version:                      0.0.0 (self compiled 4848994e4507d80e56ea07c40ff41a7b303918cd)
  Color support:                true

Platform:
  CPU Architecture:             x86_64
  OS:                           linux

Environment:
  BIOME_LOG_PATH:               unset
  BIOME_LOG_PREFIX_NAME:        unset
  BIOME_CONFIG_PATH:            unset
  NO_COLOR:                     unset
  TERM:                         "xterm-256color"
  JS_RUNTIME_VERSION:           unset
  JS_RUNTIME_NAME:              unset
  NODE_PACKAGE_MANAGER:         unset

Biome Configuration:
  Status:                       unset

Workspace:
  Open Documents:               0

What happened?

File content(at the bottom should be attached raw, not formatted file - github removes some non-printable characters, so copying from here may not work):

for@s[]of

command

timeout -v 150 biome lint TEST___FILE.js

cause this

Biome encountered an unexpected error

This is a bug in Biome, not an error in your code, and we would appreciate it if you could report it to https://github.com/biomejs/biome/issues/ along with the following information to help us fixing the issue:

Source Location: crates/biome_js_parser/src/syntax/assignment.rs:94:59
Thread Name: biome::worker_0
Message: Called `unwrap` on an `Absent` syntax


##### Automatic Fuzzer note, output status "None", output signal "Some(6)"

compressed.zip

Expected result

No crash

Code of Conduct

  • I agree to follow Biome's Code of Conduct