[Bug]: Invalid syntax tree around qualified name ref followed by a map variable declaration #39016
Labels
Area/Parser
Everything related to the ballerina lexer and the parser #Compiler
Team/CompilerFE
All issues related to Language implementation and Compiler, this exclude run times.
Type/Bug
Description
Consider this code:
Cursor is at
<cursor>
. When we visualize the syntax tree, node at cursor issimple name reference
of the following form:Ideally it should have been a qualified name reference. This doesn't happen for cases like below:
and
Steps to Reproduce
No response
Affected Version(s)
No response
OS, DB, other environment details and versions
No response
Related area
-> Compilation
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response
The text was updated successfully, but these errors were encountered: