Skip to content

Commit 662f668

Browse files
committed
Fix reanalyze
1 parent e5d4542 commit 662f668

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ test-gentype:
4848
test-all: test test-gentype
4949

5050
reanalyze:
51-
reanalyze.exe -set-exit-code -all-cmt _build/default/compiler -suppress compiler/syntax/testrunner -exclude-paths compiler/outcome_printer,compiler/ounit_tests,compiler/ml,compiler/js_parser,compiler/frontend,compiler/ext,compiler/depends,compiler/core,compiler/common,compiler/cmij,compiler/bsb_helper,compiler/bsb
51+
reanalyze.exe -set-exit-code -all-cmt _build/default/compiler _build/default/tests -exclude-paths compiler/outcome_printer,compiler/ml,compiler/js_parser,compiler/frontend,compiler/ext,compiler/depends,compiler/core,compiler/common,compiler/cmij,compiler/bsb_helper,compiler/bsb
5252

5353
lib: build node_modules/.bin/semver
5454
./scripts/buildRuntime.sh

compiler/syntax/src/res_io.ml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ let write_file ~filename ~contents:txt =
1111
let chan = open_out_bin filename in
1212
output_string chan txt;
1313
close_out chan
14-
[@@raises Sys_error]
14+
[@@raises Sys_error] [@@dead "+write_file"]

compiler/syntax/src/res_io.mli

+1
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ val read_file : filename:string -> string
55

66
(* writes "content" into file with name "filename" *)
77
val write_file : filename:string -> contents:string -> unit
8+
[@@dead "+write_file"]
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
(* Interface to print source code to res.
22
* Takes a filename called "input" and returns the corresponding formatted res syntax *)
3-
val print : ?ignore_parse_errors:bool -> string -> string
3+
val print : ?ignore_parse_errors:bool -> string -> string [@@dead "+print"]

0 commit comments

Comments
 (0)