Skip to content

Deduplicate constructors when a class has multiple base classes#56213

Open
j-piasecki wants to merge 2 commits intofacebook:mainfrom
j-piasecki:export-D98102286
Open

Deduplicate constructors when a class has multiple base classes#56213
j-piasecki wants to merge 2 commits intofacebook:mainfrom
j-piasecki:export-D98102286

Conversation

@j-piasecki
Copy link
Contributor

Summary:
Changelog: [Internal]

When a class has multiple base classes, all defining a constructor with the same signature, the inherited constructors were being duplicated in the snapshot (for each base class).

This diff deduplicates them.

Differential Revision: D98102286

Summary:

Changelog: [Internal]

Correctly handles array types in member definitions in the API snapshot.

Differential Revision: D97923375
Summary:
Changelog: [Internal]

When a class has multiple base classes, all defining a constructor with the same signature, the inherited constructors were being duplicated in the snapshot (for each base class).

This diff deduplicates them.

Differential Revision: D98102286
@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Mar 25, 2026
@facebook-github-tools facebook-github-tools bot added p: Software Mansion Partner: Software Mansion Partner p: Facebook Partner: Facebook labels Mar 25, 2026
@meta-codesync
Copy link

meta-codesync bot commented Mar 25, 2026

@j-piasecki has exported this pull request. If you are a Meta employee, you can view the originating Diff in D98102286.

j-piasecki added a commit to j-piasecki/react-native that referenced this pull request Mar 25, 2026
…book#56213)

Summary:

Changelog: [Internal]

When a class has multiple base classes, all defining a constructor with the same signature, the inherited constructors were being duplicated in the snapshot (for each base class).

This diff deduplicates them.

Differential Revision: D98102286
j-piasecki added a commit to j-piasecki/react-native that referenced this pull request Mar 25, 2026
…book#56213)

Summary:

Changelog: [Internal]

When a class has multiple base classes, all defining a constructor with the same signature, the inherited constructors were being duplicated in the snapshot (for each base class).

This diff deduplicates them.

Differential Revision: D98102286
j-piasecki added a commit to j-piasecki/react-native that referenced this pull request Mar 25, 2026
…book#56213)

Summary:

Changelog: [Internal]

When a class has multiple base classes, all defining a constructor with the same signature, the inherited constructors were being duplicated in the snapshot (for each base class).

This diff deduplicates them.

Differential Revision: D98102286
j-piasecki added a commit to j-piasecki/react-native that referenced this pull request Mar 25, 2026
…book#56213)

Summary:

Changelog: [Internal]

When a class has multiple base classes, all defining a constructor with the same signature, the inherited constructors were being duplicated in the snapshot (for each base class).

This diff deduplicates them.

Differential Revision: D98102286
j-piasecki added a commit to j-piasecki/react-native that referenced this pull request Mar 25, 2026
…book#56213)

Summary:

Changelog: [Internal]

When a class has multiple base classes, all defining a constructor with the same signature, the inherited constructors were being duplicated in the snapshot (for each base class).

This diff deduplicates them.

Differential Revision: D98102286
j-piasecki added a commit to j-piasecki/react-native that referenced this pull request Mar 25, 2026
…book#56213)

Summary:

Changelog: [Internal]

When a class has multiple base classes, all defining a constructor with the same signature, the inherited constructors were being duplicated in the snapshot (for each base class).

This diff deduplicates them.

Differential Revision: D98102286
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported meta-exported p: Facebook Partner: Facebook p: Software Mansion Partner: Software Mansion Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant