Skip to content

evaulator: fix crash on identity using declarations#209

Merged
WerWolv merged 1 commit intoWerWolv:masterfrom
AkiSakurai:using
Dec 11, 2025
Merged

evaulator: fix crash on identity using declarations#209
WerWolv merged 1 commit intoWerWolv:masterfrom
AkiSakurai:using

Conversation

@AkiSakurai
Copy link
Copy Markdown
Contributor

This commit resolves a crash that occurred when processing using declarations that aliased a type to its template parameter, such as using T = K. This was caused by a type not being resolved in getTypeDefinition.

The fix ensures that type template arguments are passed down in getTypeDefinition, and extracts the actual type definition.

This commit resolves a crash that occurred when processing using
declarations that aliased a type to its template parameter, such as
using T<K> = K. This was caused by a type not being resolved in getTypeDefinition.
The fix ensures that type template arguments are passed down in getTypeDefinition,
and extracts the actual type definition.
@WerWolv WerWolv merged commit b4d2757 into WerWolv:master Dec 11, 2025
4 of 5 checks passed
@WerWolv
Copy link
Copy Markdown
Owner

WerWolv commented Dec 11, 2025

Thanks a lot!

lawm pushed a commit to lawm/PatternLanguage that referenced this pull request Mar 13, 2026
This commit resolves a crash that occurred when processing using
declarations that aliased a type to its template parameter, such as
using T<K> = K. This was caused by a type not being resolved in getTypeDefinition.
The fix ensures that type template arguments are passed down in getTypeDefinition,
and extracts the actual type definition.
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