Skip to content
Snippets Groups Projects
Commit 8ae5b902 authored by charguer's avatar charguer Committed by Thomas Wood
Browse files

bugfix

parent bf86874c
No related branches found
No related tags found
No related merge requests found
......@@ -727,8 +727,10 @@ and js_of_expression ctx dest e =
| Texp_record (llde,_) ->
let sexp = ppf_record (List.map (fun (_, lbl, exp) -> (lbl.lbl_name, inline_of_wrap exp)) llde) in
apply_dest ctx dest sexp
| Texp_field (exp, _, lbl) -> ppf_field_access (inline_of_wrap exp) lbl.lbl_name
| Texp_field (exp, _, lbl) ->
let sexp = ppf_field_access (inline_of_wrap exp) lbl.lbl_name in
apply_dest ctx dest sexp
| Texp_assert e ->
let sexp = inline_of_wrap e in
Printf.sprintf "throw %s;" sexp
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment