Skip to content

Commit c94e169

Browse files
authored
Upgrade reanalyze; check exit (rescript-lang#80)
1 parent afa9388 commit c94e169

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

syntax/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ lib/test.exe: $(TEST_FILES) tests/napkin_test.cmx depend
6666
$(OCAMLOPT) $(OCAMLFLAGS) -O2 -o ./lib/test.exe -bin-annot -I +compiler-libs ocamlcommon.cmxa -I src -I tests $(FILES) $(TEST_FILES) tests/napkin_test.cmx
6767

6868
test: build-native lib/test.exe
69-
./node_modules/.bin/jest
7069
./node_modules/.bin/reanalyze -all-cmt . -suppress tests
70+
./node_modules/.bin/jest
7171
./lib/test.exe
7272

7373
roundtrip-test: bootstrap lib/test.exe

syntax/src/napkin_driver.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,4 +111,4 @@ let parse_interface sourcefile =
111111
exit 1
112112
end;
113113
parseResult.parsetree
114-
[@@raises exit]
114+
[@@raises exit]

syntax/src/napkin_multi_printer.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,4 +129,4 @@ let print language ~input =
129129
| `res -> printRes ~isInterface ~filename:input
130130
| `ml -> printMl ~isInterface ~filename:input
131131
| `refmt path -> printReason ~refmtPath:path ~isInterface ~filename:input
132-
[@@raises (Sys_error, exit)]
132+
[@@raises Sys_error, exit]

0 commit comments

Comments
 (0)