WIP: Subtyping #8

Draft
HEL wants to merge 15 commits from feat/subtyping into main
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
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
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 changed title from Subtyping to WIP: Subtyping 2026-06-08 07:13:36 +00:00
This pull request is marked as a work in progress.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin feat/subtyping:feat/subtyping
git checkout feat/subtyping
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: HEL/midas#8