Skip to content

Diagnose contradictory superclasses - #999

Open
EvanGruhlkey wants to merge 2 commits into
Shopify:mainfrom
EvanGruhlkey:fix/superclass-mismatch-diagnostic
Open

Diagnose contradictory superclasses#999
EvanGruhlkey wants to merge 2 commits into
Shopify:mainfrom
EvanGruhlkey:fix/superclass-mismatch-diagnostic

Conversation

@EvanGruhlkey

@EvanGruhlkey EvanGruhlkey commented Aug 11, 2026

Copy link
Copy Markdown

Summary

  • add a superclass-mismatch resolution diagnostic for classes reopened with different explicit superclasses
  • report the error on the later conflicting superclass reference
  • preserve the first resolved superclass for continued ancestor analysis
  • cover contradictory, repeated, and superclass-less reopenings with tests

Closes #857

@EvanGruhlkey
EvanGruhlkey marked this pull request as ready for review August 11, 2026 02:34
@EvanGruhlkey
EvanGruhlkey requested a review from a team as a code owner August 11, 2026 02:34
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.

Diagnose for contradictory superclasses on the same class

1 participant