Subtyping #8

Merged
HEL merged 15 commits from feat/subtyping into main 2026-06-14 22:01:45 +00:00
Owner

This PR implements simple subtyping. It replaces type equality checks with subtype checks where appropriate.
Future improvements may include generating casting calls (e.g. float(value)) when a type is subsumed for one of its super-types

This PR also implements type checking attribute references and assignments

TODO:

  • [ ] Double check function subtyping (will be done later)
This PR implements simple subtyping. It replaces type equality checks with subtype checks where appropriate. Future improvements may include generating casting calls (e.g. `float(value)`) when a type is subsumed for one of its super-types This PR also implements type checking attribute references and assignments TODO: - ~[ ] Double check function subtyping~ (will be done later)
HEL self-assigned this 2026-06-08 07:13:28 +00:00
HEL added 15 commits 2026-06-08 07:13:28 +00:00
HEL marked the pull request as work in progress 2026-06-08 07:13:36 +00:00
HEL marked the pull request as ready for review 2026-06-14 22:01:22 +00:00
HEL merged commit 27917496c1 into main 2026-06-14 22:01:45 +00:00
HEL deleted branch feat/subtyping 2026-06-14 22:01:45 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: HEL/midas#8