You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When an alias a = expr statement is used within control structures like for, if, or with, the syntax highlighting and type hinting tooltips fail to function.
Steps to reproduce
fnmain():
l = List(1, 2, 3)
ifTrue:
aliass=len(l) # Nothing works on this line
System information
Mojo 2024.9.2405 (094f5635) on Docker, Intel Mac
The text was updated successfully, but these errors were encountered:
soraros
changed the title
[BUG] LSP doesn't work on alias declaration when it's not top-level statement
[BUG] LSP fails on alias declarations within non-top-level statements
Sep 26, 2024
Bug description
When an
alias a = expr
statement is used within control structures likefor
,if
, orwith
, the syntax highlighting and type hinting tooltips fail to function.Steps to reproduce
System information
The text was updated successfully, but these errors were encountered: