Skip to content

Commit b1919a9

Browse files
authored
Merge pull request rescript-lang#5184 from rescript-lang/add_changes
update changes for 9.1.4
2 parents e490099 + ec07dbb commit b1919a9

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

Changes.md

+38
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,42 @@
11
`*` means potential break changes
2+
# 9.1.4
3+
4+
## Build
5+
- #5167 add dump subcommand so that
6+
```
7+
rescript dump path/to/file.cmi
8+
```
9+
Will dump the interface to a readable output, note this is integrated into the build system that the build will try to build it if it is not already there
10+
- clean will clean its dependency by default.
11+
subcommand `clean -with-deps`, `-with-deps` is not needed any more
12+
- hide most bsc options, officially supported bsc flags (this is not a breaking change, those internal options are still there but subject to removal in the future)
13+
```
14+
Usage: bsc <options> <files>
15+
Options are:
16+
Options:
17+
-w <list> Enable or disable warnings according to <list>:
18+
+<spec> enable warnings in <spec>
19+
-<spec> disable warnings in <spec>
20+
@<spec> enable warnings in <spec> and treat them as errors
21+
<spec> can be:
22+
<num> a single warning number
23+
<num1>..<num2> a range of consecutive warning numbers
24+
default setting is +a-4-9-20-40-41-42-50-61-102
25+
-bs-g Debug mode
26+
-bs-D Define conditional variable e.g, -D DEBUG=true
27+
-e (experimental) set the string to be evaluated in ReScript syntax
28+
-v Print compiler version and location of standard library and exit
29+
-version Print version and exit
30+
-warn-help Show description of warning numbers
31+
-warn-error <list> Enable or disable error status for warnings according
32+
to <list>. See option -w for the syntax of <list>.
33+
Default setting is -a+5+6+101+109
34+
```
35+
## Syntax
36+
- #432 bad error message for unterminated quote
37+
## Compiler
38+
- #5165 bad error message for uncurried type mistmatch
39+
- #5169 fix a code gen issue with user defined `None`
240

341
# 9.1.3 (bug fix release)
442

0 commit comments

Comments
 (0)