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

🐛 Biome Server Crashes When Using noUnusedTemplateLiteral with Mixed Japanese Characters #4307

Closed
1 task done
araera111 opened this issue Oct 16, 2024 · 1 comment
Closed
1 task done
Labels
S-Needs triage Status: this issue needs to be triaged

Comments

@araera111
Copy link

araera111 commented Oct 16, 2024

Environment information

CLI:
  Version:                      1.9.3
  Color support:                true

Platform:
  CPU Architecture:             x86_64
  OS:                           macOS

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

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

Workspace:
  Open Documents:               0

What happened?

The following source code causes the Biome server to crash when opened in VSCode:

const main = () => {
    const val = "hello";
    console.log("診察" + val);
};
main();

When the string "診察" is replaced with an English equivalent, the server does not crash.

Reproduction Steps:

I have a repository where this issue can be reproduced.
https://github.com/araera111/biome-bug-report-001

image

image

Expected result

The Biome server should not crash and should provide hints for noUnusedTemplateLiteral.

Code of Conduct

  • I agree to follow Biome's Code of Conduct
@araera111 araera111 added the S-Needs triage Status: this issue needs to be triaged label Oct 16, 2024
@araera111
Copy link
Author

araera111 commented Oct 16, 2024

sorry, duplicate
#4181

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-Needs triage Status: this issue needs to be triaged
Projects
None yet
Development

No branches or pull requests

1 participant