Skip to content

gentype: support Jsx.element in addition to React.element #6808

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 7, 2024

Conversation

cristianoc
Copy link
Collaborator

The type Jsx.element can show user-side in ppx V4 (at least), and affects gentype too. It special-cases React.element, and needs to then special-case Jsx.element too.

Fixes #6807

The type Jsx.element can show user-side in ppx V4 (at least), and affects gentype too.
It special-cases `React.element`, and needs to then special-case `Jsx.element` too.

Fixes #6807
Copy link
Member

@mununki mununki left a comment

Choose a reason for hiding this comment

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

👍

@cristianoc cristianoc merged commit e4439c9 into master Jun 7, 2024
19 checks passed
@cristianoc cristianoc deleted the jsx.element branch June 7, 2024 12:21
@zth
Copy link
Collaborator

zth commented Jun 7, 2024

Wondering whether this should potentially go in a 11.1.2 too. v12 is quite far out.

@cristianoc
Copy link
Collaborator Author

Wondering whether this should potentially go in a 11.1.2 too. v12 is quite far out.

Once a new 11 version is planned, this and a few other fixes can be included.

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.

Required shim for "PervasivesU", gentype
3 participants