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

🐛 Search does not match type $T = $U #4077

Closed
1 task done
dyc3 opened this issue Sep 25, 2024 · 0 comments · Fixed by #4084 or WomB0ComB0/portfolio#159 · May be fixed by WomB0ComB0/portfolio#157
Closed
1 task done

🐛 Search does not match type $T = $U #4077

dyc3 opened this issue Sep 25, 2024 · 0 comments · Fixed by #4084 or WomB0ComB0/portfolio#159 · May be fixed by WomB0ComB0/portfolio#157
Assignees
Labels
L-Grit Language: GritQL S-Bug-confirmed Status: report has been confirmed as a valid bug

Comments

@dyc3
Copy link
Contributor

dyc3 commented Sep 25, 2024

Environment information

CLI:
  Version:                      1.9.2
  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:           "v18.20.3"
  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:                 false

Workspace:
  Open Documents:               0

What happened?

biome search doesn't match type definitions using the type Foo = ... syntax.

  1. Clone: https://github.com/dyc3/biome-repro-1727268689227
  2. Run:
`biome search '`type $T = $U`'

Expected result

Search should match the expressions.

Gritql matches the expression as seen here: https://app.grit.io/studio?key=C3DktPmcrc3xKDiQX8fKj

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
L-Grit Language: GritQL S-Bug-confirmed Status: report has been confirmed as a valid bug
Projects
None yet
3 participants