Skip to content

Conversation

@cknitt
Copy link
Member

@cknitt cknitt commented Jul 26, 2024

Consolidates git history and CHANGELOG after 11.1.3 release.

cknitt and others added 15 commits June 26, 2024 22:09
Turns out that `@uncurry` attribute even in uncurried mode can produce js code that used`Curry`.
The `@uncurry` attribute will be deprecated.
For now, this PR ignores it.
…unctions.

A function such as this one:
```
let t4 = ({contents: x0}, {contents: x1}, {contents: x2}, {contents: x3}) => (x0, x1, x2, x3)
```

is 4 nested functions each one extracting the `contents` field.
In uncurried mode, the arity is adjusted to be 4, by putting a wrapper on top.
The wrapper was added by applying all the new args at once, which requires `Curry` runtime.
* force regenerate build.ninja

* fix bin path

* Update CHANGELOG.md

* force regenerate when `warn-error` argument change

* restore `-regen` argument

* regenerate if previous warn error != 0
# Conflicts:
#	CHANGELOG.md
@cknitt cknitt merged commit 6a0b1bb into rescript-lang:master Jul 27, 2024
@cknitt cknitt deleted the 11-to-master branch July 27, 2024 04:53
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.

6 participants