-
Notifications
You must be signed in to change notification settings - Fork 455
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
Ignore -uncurried
compiler flag.
#6885
Conversation
1578c6a
to
851fcab
Compare
851fcab
to
3bb4545
Compare
@@ -1,27 +1,26 @@ | |||
@@jsxConfig({version: 3}) | |||
|
|||
module V3 = { | |||
@obj external makeProps: (~a: 'a, ~b: 'b, ~key: string=?, unit) => {"a": 'a, "b": 'b} = "" | |||
@obj external makeProps: (~key: string=?, unit) => {.} = "" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change looks weird, why did a and b disappear?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good question: @mununki would you open an issue and take a look?
(Issue: typeConstraint.res
does not look right in uncurried mode).
\"TypeConstraint$V3" | ||
} | ||
} | ||
|
||
@@jsxConfig({version: 4, mode: "classic"}) | ||
|
||
module V4C = { | ||
type props<'a, 'b> = {a: 'a, b: 'b} | ||
type props = {} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here.
@@ -226,10 +226,10 @@ let f = ( | |||
/* c6 */ ~x=?, | |||
) => /* c7 */ () | |||
|
|||
let multiply = (type /* c-2 */ t /* c-1 */, /* c0 */ m1 /* c1 */, /* c2 */ m2 /* c3 */) => () | |||
let multiply = (type /* c-2 */ t /* c-1 */, m1 /* c1 */, /* c2 */ m2 /* c3 */) => () |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comment c0 has disappeared
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would you open a separate issue about formatting for this example?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See #6890
Taken note of the observations for creating separate issues. Merging this. |
Syntax tests have changed as they were still run in curried mode.