Skip to content
This repository
Browse code

[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
Quentin Bourgerie BourgerieQuentin authored

Showing 1 changed file with 1 addition and 2 deletions. Show diff stats Hide diff stats

  1. +1 2  lib/stdlib/core/js/jsast.opa
3  lib/stdlib/core/js/jsast.opa
@@ -181,9 +181,8 @@ JsOptions =
181 181 // define identifier for the renaming
182 182 iter(elt : JsAst.code_elt) =
183 183 match elt.i with
184   - | { ~i ; ... } ->
  184 + | { ~i } | { k=i } ->
185 185 JsIdent.define(i)
186   - | _ -> void
187 186 iter(code) = iter_code(iter, code)
188 187 do List.iter(iter, js_codes)
189 188 infos = JsCleaning.empty_infos()

0 comments on commit 2761234

Please sign in to comment.
Something went wrong with that request. Please try again.