Skip to content

Comptime annotation check#351

Draft
mbenke wants to merge 9 commits into
ct-match-labelsfrom
comptime-check
Draft

Comptime annotation check#351
mbenke wants to merge 9 commits into
ct-match-labelsfrom
comptime-check

Conversation

@mbenke
Copy link
Copy Markdown
Collaborator

@mbenke mbenke commented Apr 9, 2026

This PR introduces two passes checking comptime annotations on parameters, results and let-bound variables (introduced by #343).

The first pass is done on SAIL level, however for polymorphic and overloaded functions sometimes this is at least difficult to decide before specialisation, and these cases are deferred to MAST-level checker.

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