Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Remove subtyping for () from node graph type system #2418

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

bradrn
Copy link
Contributor

@bradrn bradrn commented Mar 10, 2025

The current type system for the node graph has a special case where all types are considered subtypes of the unit type (). However, it seems that this case never occurs in practice — I can’t find anything which breaks when this case is removed. Furthermore, it makes the type system (which is already somewhat confusing) even more difficult to reason about.

@TrueDoctor
Copy link
Member

@bradrn can you remove the unnecessary import? (basically run cargo check)

@TrueDoctor
Copy link
Member

Other than that everything seems to be fine

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants