Skip to content

parser: fix static generic calls with reference types#26809

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

parser: fix static generic calls with reference types#26809
wenxuanjun wants to merge 1 commit intovlang: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.

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.

1 participant