Skip to content

Subtype to expr2#168

Merged
IgorDeepakM merged 2 commits intomasterfrom
subtype_to_expr2
May 4, 2026
Merged

Subtype to expr2#168
IgorDeepakM merged 2 commits intomasterfrom
subtype_to_expr2

Conversation

@IgorDeepakM
Copy link
Copy Markdown
Owner

No description provided.

Previously there wasn't any check for formal value args when they
are calculated using comptime. Now when the formal value arg have
any comptime expression they are put on a list that is taken care
of in the reach pass. Each comptime expression is given an id in
the expr pass. In the reach pass, when comptime evaluation
is done, the result is replaced in the check list with the same
comptime id. The counter part that wasn't replaced is reified with
the reification point as the comptime evaluated expression.

The CTFE runner no longer reifies the expression before
evaluation. The reification must now be done outside and before
called the CTFE runner.
@IgorDeepakM IgorDeepakM merged commit 807151c into master May 4, 2026
4 checks passed
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