Skip to content
Prev Previous commit
Next Next commit
@bs.time -> @time
  • Loading branch information
cknitt committed Feb 20, 2024
commit ca660413afc55cbcb672ede76ba92610f4dfcdda
2 changes: 1 addition & 1 deletion jscomp/frontend/ast_exp_extension.ml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ let handle_extension e (self : Bs_ast_mapper.mapper)
*)
| None | Some _ ->
Location.raise_errorf ~loc "external expects a single identifier")
| "bs.time" | "time" -> (
| "time" -> (
match payload with
| PStr [{pstr_desc = Pstr_eval (e, _)}] ->
let locString =
Expand Down