Skip to content

parser: fix static generic calls with reference types#26809

Open
wenxuanjun wants to merge 1 commit into
vlang:masterfrom
wenxuanjun:fix-static-generic-ref-call
Open

parser: fix static generic calls with reference types#26809
wenxuanjun wants to merge 1 commit into
vlang:masterfrom
wenxuanjun:fix-static-generic-ref-call

Conversation

@wenxuanjun
Copy link
Copy Markdown
Contributor

Treat Type.method[&T]() as a generic static call instead of misparsing it as selector/index syntax.

This fixes cases where reference concrete types are used in static generic calls.

@JalonSolov
Copy link
Copy Markdown
Collaborator

Conflicts to resolve.

@wenxuanjun wenxuanjun force-pushed the fix-static-generic-ref-call branch from d1c5618 to 2c4c0a2 Compare April 19, 2026 02:10
@wenxuanjun wenxuanjun force-pushed the fix-static-generic-ref-call branch from 2c4c0a2 to c238dfc Compare April 23, 2026 07:01
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