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
Uncurried internal representation escapes in error message. (#5892)
* Uncurried internal representation escapes in error message.
This is an old standing issue still present.
When something which is not a function is applied in an uncurried way, the error message leaks the internal representation of uncurried types.
See #5888
* rename
* Handle error message where non-function is used in function application.
Curried application treats specially the case where the type used is not a function.
Adapt uncurried application to do the same.
* Update CHANGELOG.md
Copy file name to clipboardexpand all lines: CHANGELOG.md
+1
Original file line number
Diff line number
Diff line change
@@ -44,6 +44,7 @@ These are only breaking changes for unformatted code.
44
44
- Fix formatting uncurried functions with attributes https://github.com/rescript-lang/rescript-compiler/pull/5829
45
45
- Fix parsing/printing uncurried functions with type parameters https://github.com/rescript-lang/rescript-compiler/pull/5849
46
46
- Fix compiler ppx issue when combining `async` and uncurried application https://github.com/rescript-lang/rescript-compiler/pull/5856
47
+
- Fix issue where the internal representation of uncurried types would leak when a non-function is applied in a curried way https://github.com/rescript-lang/rescript-compiler/pull/5892
0 commit comments