Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[fix] runtime, jsrenaming: Define also code_elt tagged as 'k' since '…

…{k}' and {k i} was merged
  • Loading branch information...
commit 27612348c97557346b6dad2baae2f79177cc1659 1 parent 77bd42b
@BourgerieQuentin BourgerieQuentin authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  lib/stdlib/core/js/jsast.opa
View
3  lib/stdlib/core/js/jsast.opa
@@ -181,9 +181,8 @@ JsOptions =
// define identifier for the renaming
iter(elt : JsAst.code_elt) =
match elt.i with
- | { ~i ; ... } ->
+ | { ~i } | { k=i } ->
JsIdent.define(i)
- | _ -> void
iter(code) = iter_code(iter, code)
do List.iter(iter, js_codes)
infos = JsCleaning.empty_infos()
Please sign in to comment.
Something went wrong with that request. Please try again.