You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 6463 Reporter:@whitequark Assigned to:@alainfrisch Status: closed (set by @xavierleroy on 2015-12-11T18:28:07Z) Resolution: fixed Priority: normal Severity: minor Version: 4.02.0+beta1 / +rc1 Fixed in version: 4.02.0+dev Category: ~DO NOT USE (was: OCaml general) Monitored by:@hcarty
Bug description
Currently I have code that looks like this:
let lwt_mapper args =
args |> List.iter (fun arg ->
match arg with
| "-no-debug" -> debug := false
| _ -> raise (Location.Error (Location.errorf "Unknown lwt.ppx argument: %s\n\n" arg));
{ default_mapper with
expr = fun mapper expr ->
match expr with
| [%expr [%lwt let _ = [%e? exp]]] ->
lwt_expression mapper exp
| x -> default_mapper.expr mapper x;
}
However, such error would presently be ignored by Ast_mapper.run_mapper.
The text was updated successfully, but these errors were encountered:
Sorry, I can't confirm at the moment--due to a bug in opam, reinstalling a switch requires a lot of manual work. But it seems like it would fix the bug.
Original bug ID: 6463
Reporter: @whitequark
Assigned to: @alainfrisch
Status: closed (set by @xavierleroy on 2015-12-11T18:28:07Z)
Resolution: fixed
Priority: normal
Severity: minor
Version: 4.02.0+beta1 / +rc1
Fixed in version: 4.02.0+dev
Category: ~DO NOT USE (was: OCaml general)
Monitored by: @hcarty
Bug description
Currently I have code that looks like this:
However, such error would presently be ignored by Ast_mapper.run_mapper.
The text was updated successfully, but these errors were encountered: