Skip to content

Fixed qualified type parsing in for-loop variable annotations#20

Open
dreed-sd wants to merge 1 commit into
elamaunt:LSPfrom
dreed-sd:for-loop-enum-fix
Open

Fixed qualified type parsing in for-loop variable annotations#20
dreed-sd wants to merge 1 commit into
elamaunt:LSPfrom
dreed-sd:for-loop-enum-fix

Conversation

@dreed-sd
Copy link
Copy Markdown

@dreed-sd dreed-sd commented Apr 7, 2026

Fixes #19

}
else
{
if (c == '[' && (_pendingTypeName.IsArray || _pendingTypeName.IsDictionary))
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nested parsing bypasses the core idea of ​​delegating parsing to subnodes. This is only allowed for resolvers in special cases. The structure must manage parsing itself, otherwise the node takes on too much responsibility. The appropriate resolver must be called here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants