Skip to content

Commit b9f8c5d

Browse files
committed
remove unused code
1 parent 75e124b commit b9f8c5d

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

jscomp/core/jsoo_main.ml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -126,19 +126,11 @@ let implementation prefix impl str : Js.Unsafe.obj =
126126

127127

128128

129-
let string_of_fmt (f : Format.formatter -> 'a -> unit) v =
130-
let buf = Buffer.create 37 in
131-
let fmt = Format.formatter_of_buffer buf in
132-
let () =
133-
f fmt v;
134-
Format.pp_print_flush fmt () in
135-
Buffer.contents buf
136-
137129
let compile impl : string -> Js.Unsafe.obj =
138130
implementation false impl
139131
(** TODO: add `[@@bs.config{no_export}]\n# 1 "repl.ml"`*)
140132
let shake_compile impl : string -> Js.Unsafe.obj =
141-
implementation true impl
133+
implementation true impl
142134

143135

144136

0 commit comments

Comments
 (0)