Skip to content

Commit aec8e39

Browse files
committed
remove toplevel
1 parent db49982 commit aec8e39

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

jscomp/super_errors/super_location.ml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@ let print_loc ~normalizedRange ppf (loc : Location.t) =
3030
;;
3131

3232
let print ~message_kind intro ppf (loc : Location.t) =
33-
if loc.loc_start.pos_fname = "//toplevel//"
34-
&& Location.highlight_locations ppf [loc] then ()
35-
else
3633
begin match message_kind with
3734
| `warning -> fprintf ppf "@[@{<info>%s@}@]@," intro
3835
| `warning_as_error -> fprintf ppf "@[@{<error>%s@} (configured as error) @]@," intro

0 commit comments

Comments
 (0)