Skip to content

Commit d853033

Browse files
committed
Add 109 warning flag description and update playground default
1 parent 6fbedc9 commit d853033

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

src/Playground.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Playground.res

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1036,7 +1036,7 @@ module Settings = {
10361036
ReactEvent.Mouse.preventDefault(evt)
10371037
let defaultConfig = {
10381038
Api.Config.module_system: "nodejs",
1039-
warn_flags: "+a-4-9-20-40-41-42-50-61-102",
1039+
warn_flags: "+a-4-9-20-40-41-42-50-61-102-109",
10401040
}
10411041
setConfig(defaultConfig)
10421042
}

src/common/WarningFlagDescription.js

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/common/WarningFlagDescription.res

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
// This file was automatically converted to ReScript from 'WarningFlagDescription.re'
2-
// Check the output and make sure to delete the original file
3-
41
let numeric = [
52
(1, "Suspicious-looking start-of-comment mark."),
63
(2, "Suspicious-looking end-of-comment mark."),
@@ -90,6 +87,7 @@ let numeric = [
9087
"BuckleScript warning: Integer literal exceeds the range of representable integers of type int",
9188
),
9289
(108, "BuckleScript warning: Uninterpreted delimiters (for unicode)"),
90+
(109, "Toplevel expression has unit type"),
9391
]
9492

9593
let lastWarningNumber = 108

0 commit comments

Comments
 (0)