Skip to content
Snippets Groups Projects
Commit ec176a45 authored by charguer's avatar charguer
Browse files

test4

parent 87838336
No related branches found
No related tags found
No related merge requests found
...@@ -662,7 +662,7 @@ let to_javascript module_name typedtree = ...@@ -662,7 +662,7 @@ let to_javascript module_name typedtree =
(* (*
ctx_empty ctx_empty
ctx_push(ctx, bindings) where bindings = [ { key:"ls", val:ls}, { key:"xs", val:xs } ] ctx_push(ctx, bindings) where bindings = [ { key: "ls", val: ls}, { key:"xs", val:xs } ]
push("ls", ls, push("v", v, push("y", y, ctx314)); push("ls", ls, push("v", v, push("y", y, ctx314));
......
...@@ -68,7 +68,14 @@ let test3 x = ...@@ -68,7 +68,14 @@ let test3 x =
in in
y y
let test4 x =
match x with
| None -> 1
| Some y ->
begin match y with
| None -> 2
| Some z -> z
end
(* (*
......
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