Skip to content

Conversation

@tjprescott
Copy link
Owner

Fixes #78.

@tjprescott tjprescott requested a review from Copilot April 10, 2025 02:43
@tjprescott tjprescott changed the title Fix inheritance chain Fix inheritance chain expansion Apr 10, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 5 out of 7 changed files in this pull request and generated no comments.

Files not reviewed (2)
  • package.json: Language not supported
  • test/files/inheritanceChain.json: Language not supported
Comments suppressed due to low confidence (2)

test/definition-registry.test.ts:177

  • [nitpick] Consider renaming 'expected_properties' to 'expectedProperties' to follow camelCase convention.
let expected_properties = ["aProp", "bProp", "cProp", "dProp"];

src/definitions.ts:456

  • Modifying 'derived_set' while iterating over it may lead to infinite loops in cases of circular inheritance chains; consider iterating over a copy of the set or tracking visited elements.
for (const derived of derived_set) {

@tjprescott tjprescott force-pushed the FixInheritanceChain branch 6 times, most recently from 2d29d11 to 4192b0f Compare April 10, 2025 03:06
@tjprescott tjprescott force-pushed the FixInheritanceChain branch from 4192b0f to 99101f1 Compare April 10, 2025 03:09
@tjprescott tjprescott merged commit 3fbeb14 into main Apr 10, 2025
1 check passed
@tjprescott tjprescott deleted the FixInheritanceChain branch April 10, 2025 03:10
tjprescott added a commit that referenced this pull request Apr 14, 2025
This reverts commit 3fbeb14, reversing
changes made to 5f5aa1e.
tjprescott added a commit that referenced this pull request Apr 14, 2025
This reverts commit 3fbeb14, reversing
changes made to 5f5aa1e.
tjprescott added a commit that referenced this pull request Apr 14, 2025
This reverts commit 3fbeb14, reversing
changes made to 5f5aa1e.
tjprescott added a commit that referenced this pull request Apr 14, 2025
This reverts commit 3fbeb14, reversing
changes made to 5f5aa1e.
tjprescott added a commit that referenced this pull request Apr 14, 2025
This reverts commit 3fbeb14, reversing
changes made to 5f5aa1e.
tjprescott added a commit that referenced this pull request Apr 14, 2025
This reverts commit 3fbeb14, reversing
changes made to 5f5aa1e.
tjprescott added a commit that referenced this pull request Apr 14, 2025
This reverts commit 3fbeb14, reversing
changes made to 5f5aa1e.
tjprescott added a commit that referenced this pull request Apr 14, 2025
Revert "Merge pull request #79 from tjprescott/FixInheritanceChain"
tjprescott added a commit that referenced this pull request Apr 14, 2025
Revert "Merge pull request #79 from tjprescott/FixInheritanceChain"
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.

$allOf not resolving correctly in some scenarios

2 participants