Skip to content
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

Fix gentype jsx issue #7107

Merged
merged 2 commits into from
Oct 19, 2024
Merged

Fix gentype jsx issue #7107

merged 2 commits into from
Oct 19, 2024

Conversation

cristianoc
Copy link
Collaborator

@cristianoc cristianoc commented Oct 19, 2024

Fixes #7106

The Jsx.element type has moved from Pervasives.

Fixes #7103

The Jsx.element type has moved from Pervasives.
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Syntax Benchmarks

Benchmark suite Current: 443e688 Previous: e1b7fb7 Ratio
Parse RedBlackTree.res - time/run 1.2398907533333332 ms 1.2123143266666667 ms 1.02
Parse RedBlackTree.res - allocs/run 199057 words 199057 words 1
Print RedBlackTree.res - time/run 2.3386479799999997 ms 2.3104395133333333 ms 1.01
Print RedBlackTree.res - allocs/run 236403 words 236403 words 1
Print RedBlackTreeNoComments.res - time/run 2.0988734066666668 ms 2.10057036 ms 1.00
Print RedBlackTreeNoComments.res - allocs/run 249186 words 249186 words 1
Parse Napkinscript.res - time/run 39.0237255 ms 39.28006235333333 ms 0.99
Parse Napkinscript.res - allocs/run 8670066 words 8670066 words 1
Print Napkinscript.res - time/run 72.70350768666665 ms 77.00100409999999 ms 0.94
Print Napkinscript.res - allocs/run 9776327 words 9776327 words 1
Parse HeroGraphic.res - time/run 5.079912879999999 ms 5.13472718 ms 0.99
Parse HeroGraphic.res - allocs/run 1219326 words 1219326 words 1
Print HeroGraphic.res - time/run 8.607115866666666 ms 8.775952553333333 ms 0.98
Print HeroGraphic.res - allocs/run 1396466 words 1396466 words 1

This comment was automatically generated by workflow using github-action-benchmark.

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.

Looking great.

@cristianoc cristianoc merged commit 40e15c8 into master Oct 19, 2024
20 checks passed
@cristianoc cristianoc deleted the gentype-jsx branch October 19, 2024 07:35
@@ -207,7 +207,8 @@ let translate_constr ~config ~params_translation ~(path : Path.t) ~type_env =
{dependencies = []; type_ = EmitType.type_react_event_mouse_t}
| ( ( ["React"; "element"]
| ["ReasonReact"; "reactElement"]
Copy link
Member

Choose a reason for hiding this comment

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

@cristianoc I think ReasonReact.reactElement could be removed.

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.

Gentype ouput discrepancy between compiler v11 and v12
3 participants