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

[BUG] LSP fails to locate definitions within a mojo code block in the docstring #3767

Open
soraros opened this issue Nov 12, 2024 · 0 comments
Labels
bug Something isn't working mojo-repo Tag all issues with this label

Comments

@soraros
Copy link
Contributor

soraros commented Nov 12, 2024

Bug description

As title.

Steps to reproduce

fn main():
  """Test.

  ```mojo
  var n = 0
  fn f() -> Int:
    return n  # use of unknown declaration 'n'
  ```
  """

System information

Mojo 2024.11.1205 (d1f87b0e) on Docker, Intel Mac
@soraros soraros added bug Something isn't working mojo-repo Tag all issues with this label labels Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working mojo-repo Tag all issues with this label
Projects
None yet
Development

No branches or pull requests

1 participant