Skip to content

Commit 073fb2d

Browse files
committed
fixup! Do not emit unnecessary source mappings
1 parent df9a8ef commit 073fb2d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

compiler/lib/js_output.ml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -497,6 +497,9 @@ struct
497497
in
498498
traverse l e
499499

500+
(* The debuggers do not stop on some statements, like function
501+
declarations. So there is no point in outputting some debug
502+
information there. *)
500503
let stop_on_statement st =
501504
match st with
502505
| Block _

0 commit comments

Comments
 (0)