File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -162,15 +162,15 @@ end = struct
162162 in
163163 List. filter_opt
164164 [ of_bool_opt " use-js-string" t.js_string
165- ; Option. map t.effects ~f: string_of_effects
165+ ; Option. map t.effects ~f: ( fun e -> " effects= " ^ string_of_effects e)
166166 ; of_bool_opt " toplevel" t.toplevel
167167 ]
168168 |> String. concat ~sep: " +" )
169169 ;;
170170
171171 let effects_of_string = function
172172 | "cps" -> Some Cps
173- | "double-translation" -> Some Cps
173+ | "double-translation" -> Some Double_translation
174174 | _ -> None
175175 ;;
176176
@@ -186,7 +186,7 @@ end = struct
186186 | None , None -> set acc name `True
187187 | None , Some backend ->
188188 (match effects_of_string backend with
189- | Some backend -> set acc name (`Effects backend)
189+ | Some backend -> set acc " effects " (`Effects backend)
190190 | None -> acc))
191191 ;;
192192
You can’t perform that action at this time.
0 commit comments