Skip to content

Conversation

nox213
Copy link
Contributor

@nox213 nox213 commented Aug 17, 2025

fix #23369

  1. Add fallback logic in inferPrefixMap that uses subtype relationships to find a singleton when an exact match cannot be found
  2. Ensure that constraints are calculated after applying inferPrefixMap

@nox213
Copy link
Contributor Author

nox213 commented Aug 18, 2025

I will look into CI failure

@nox213 nox213 changed the title fix(patmat): Use childPrefix to resolve path-dependent sealed children fix(patmat): Add subtype-based fallback in inferPrefixMap and recalculate constraints after application Sep 2, 2025
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.

No warning about non-exhaustive pattern matching for constructor with type bound enclosing type member
2 participants