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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悰 Big pack of js/ts files that crashes ~rome~ biome #342

Open
1 task done
qarmin opened this issue Sep 20, 2023 · 0 comments
Open
1 task done

馃悰 Big pack of js/ts files that crashes ~rome~ biome #342

qarmin opened this issue Sep 20, 2023 · 0 comments

Comments

@qarmin
Copy link

qarmin commented Sep 20, 2023

Environment information

CLI:
  Version:                      0.0.0
  Color support:                true

Platform:
  CPU Architecture:             x86_64
  OS:                           linux

Environment:
  BIOME_LOG_DIR:                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

Discovering running Biome servers...

What happened?

Copy of issue rome/tools#4323

I still see multiple crashes(even in playground) when linting files(probably mostly invalid)

biome lint file.js

cause this crashes

Message: assertion failed: start <= end
  脳 processing panicked: begin <= end (1 <= 0) when slicing `/---`
Message: byte index 1 is not a char boundary; it is inside '脨' (bytes 0..2) of `脨    expo`
Message: byte index 1 is out of bounds of ``

Files - https://github.com/rome/tools/files/12458119/Broken.zip

Screenshot from 2023-09-20 09-29-53

Expected result

No crashes

Code of Conduct

  • I agree to follow Biome's Code of Conduct
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