Skip to content

Conversation

@kripken
Copy link
Member

@kripken kripken commented Feb 28, 2024

I audited all of SubtypingDiscoverer for flow/non-flow constraints and added
some comments to clarify things for our future selves if we ever need to
generalize it.

@kripken kripken requested a review from tlively February 28, 2024 18:02
Copy link
Member

@tlively tlively left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just to make sure I understand: the reason we don't just go ahead and use noteNonFlowSubtype in all these places in subtype-exprs.h is because then we would have to do more work in Unsubtyping to make sure it continues doing the right thing?

@kripken
Copy link
Member Author

kripken commented Feb 28, 2024

Yes. I do think it might actually just work atm, but it would only add complexity and risk I think.

@kripken kripken merged commit baefd93 into WebAssembly:main Feb 28, 2024
@kripken kripken deleted the unsub.comments branch February 28, 2024 20:30
@gkdn gkdn mentioned this pull request Aug 31, 2024
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.

2 participants