You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add support for functions in untagged variants. (#6279)
* Add support for functions in untagged variants.
This was done at speed: need to double check that there are no corner cases missing.
Fixes#6278
* test gentype
* Add parens as required for TS case with function type.
* Update CHANGELOG.md
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,7 @@
15
15
#### :rocket: New Feature
16
16
17
17
- Introduced a new `%ffi` extension that provides a more robust mechanism for JavaScript function interoperation by considering function arity in type constraints. This enhancement improves safety when dealing with JavaScript functions by enforcing type constraints based on the arity of the function. [PR #6251](https://github.com/rescript-lang/rescript-compiler/pull/6251)
18
+
- Extended untagged variants with function types https://github.com/rescript-lang/rescript-compiler/pull/6279
0 commit comments