Skip to content

evaluator: fix type name for non-placement template variables#208

Merged
WerWolv merged 2 commits into
WerWolv:masterfrom
AkiSakurai:typename
Dec 12, 2025
Merged

evaluator: fix type name for non-placement template variables#208
WerWolv merged 2 commits into
WerWolv:masterfrom
AkiSakurai:typename

Conversation

@AkiSakurai
Copy link
Copy Markdown
Contributor

Fix the result of the type name for non-placement variables with template types. We still need to evaluate the arguments of the template before setting the type name.
For typeNameOf the type, we can skip creating the pattern as only the arguments matter.

@AkiSakurai AkiSakurai changed the title evaluator: fix type name for non-placement template variablesFix type name for non-placement template variables evaluator: fix type name for non-placement template variablesFi Dec 7, 2025
@AkiSakurai AkiSakurai changed the title evaluator: fix type name for non-placement template variablesFi evaluator: fix type name for non-placement template variables Dec 7, 2025
@AkiSakurai AkiSakurai marked this pull request as draft December 9, 2025 12:38
… name for non-placement template variables

Fix the result of the type name for non-placement variables with template types.
We still need to evaluate the arguments of the template before setting the type name.
For typeNameOf the type, we can skip creating the pattern as only the arguments matter.
@AkiSakurai AkiSakurai marked this pull request as ready for review December 11, 2025 13:59
@WerWolv WerWolv merged commit a880ae0 into WerWolv:master Dec 12, 2025
5 checks passed
lawm pushed a commit to lawm/PatternLanguage that referenced this pull request Mar 13, 2026
…v#208)

evaluator: fix type name for non-placement template variablesFix type name for non-placement template variables

Fix the result of the type name for non-placement variables with template types.
We still need to evaluate the arguments of the template before setting the type name.
For typeNameOf the type, we can skip creating the pattern as only the arguments matter.

Co-authored-by: Nik <werwolv98@gmail.com>
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