Skip to content

Comments

Support inheritance#459

Open
keyboardDrummer wants to merge 85 commits intomainfrom
remy/inheritance
Open

Support inheritance#459
keyboardDrummer wants to merge 85 commits intomainfrom
remy/inheritance

Conversation

@keyboardDrummer
Copy link
Contributor

@keyboardDrummer keyboardDrummer commented Feb 20, 2026

Changes

  • Add a Map.const function to the Core factory
  • Support composites that have fields with the same name but different types
  • Support <value> as <Type> and <value> is <Type>, and extends for composite types.

Testing

  • Add a test sameFieldNameDifferentType to the mutable fields test file
  • Added a test file related to inheritance

@keyboardDrummer keyboardDrummer requested a review from a team February 20, 2026 10:57
@andrewmwells-amazon
Copy link
Contributor

Can we include documentation of the intended handling of diamond inheritance and tests of the same?

Copy link
Contributor

@andrewmwells-amazon andrewmwells-amazon left a comment

Choose a reason for hiding this comment

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

I don't see intended semantics of diamond inheritance documented nor code forbidding it. In either case, I think we should include some tests for this.

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