From 7b355a794fc8558090de67e281ddd6b07ffd26b4 Mon Sep 17 00:00:00 2001 From: Florian Hammerschmidt Date: Tue, 16 Apr 2024 14:10:58 +0200 Subject: [PATCH 1/2] Fix description for warning number 110 --- jscomp/ext/warnings.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jscomp/ext/warnings.ml b/jscomp/ext/warnings.ml index 9229eb5db1..b1a74bfd1a 100644 --- a/jscomp/ext/warnings.ml +++ b/jscomp/ext/warnings.ml @@ -647,7 +647,7 @@ let descriptions = ); (108, "Uninterpreted delimiters (for unicode)"); (109, "Toplevel expression has unit type"); - (110, "Expression has nested promise type"); + (110, "Todo found"); ] let help_warnings () = From 2e811a2003b34196021593e3a34aa6b509adf715 Mon Sep 17 00:00:00 2001 From: Florian Hammerschmidt Date: Tue, 16 Apr 2024 14:14:09 +0200 Subject: [PATCH 2/2] Changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 73a2faf061..8bd18c4841 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,6 +22,7 @@ - Stop escaping JSX prop names with hyphens. https://github.com/rescript-lang/rescript-compiler/pull/6705 - Fix trailing undefined for optional parameters not omitted with `@send` and `@new`. https://github.com/rescript-lang/rescript-compiler/pull/6716 - Fix JSX4 adding the incorrect type annotation for the prop `ref` in React.forwardRef component https://github.com/rescript-lang/rescript-compiler/pull/6718 +- Fix description for warning number 110 https://github.com/rescript-lang/rescript-compiler/pull/6725 #### :nail_care: Polish