Subtyping #8
Reference in New Issue
Block a user
Delete Branch "feat/subtyping"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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-typesThis PR also implements type checking attribute references and assignments
TODO:
[ ] Double check function subtyping(will be done later)Subtypingto WIP: SubtypingWIP: Subtypingto Subtyping