Skip to content

[BUG][LSP]: Syntax highlighting and jump-to-definition don't work in raising functions #4343

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

Open
soraros opened this issue Apr 13, 2025 · 0 comments
Labels
bug Something isn't working max-repo mojo Issues that are related to mojo

Comments

@soraros
Copy link
Contributor

soraros commented Apr 13, 2025

Bug description

As title. The semantic token type of f is function if main is not raising.

Image

Steps to reproduce

fn main() raises:
  f()  # doesn't jump to the definition below

fn f():
  ...

System information

Package     Version               Build    Size       Kind   Source
max         25.3.0.dev2025041105  release  9.7 KiB    conda  max
max-core    25.3.0.dev2025041105  release  258.5 MiB  conda  max-core
max-python  25.3.0.dev2025041105  release  35.4 MiB   conda  max-python
@soraros soraros added bug Something isn't working max-repo mojo Issues that are related to mojo labels Apr 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working max-repo mojo Issues that are related to mojo
Projects
None yet
Development

No branches or pull requests

1 participant