Skip to content
This repository
Browse code

[cleanup] qmljsimp: remove commented code.

  • Loading branch information...
commit d3f31cdaf568959950f9de1888e9c58384a773f9 1 parent 6286a3c
Arthur Azevedo de Amorim arthuraa authored

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

  1. +2 2 compiler/qmljsimp/imp_Bsl.ml
4 compiler/qmljsimp/imp_Bsl.ml
@@ -66,12 +66,12 @@ struct
66 66 J.ExprIdent (Ident.next name)
67 67 let fresh_var private_env name =
68 68 let ident = fresh_param name in
69   - let private_env = {(*private_env with*) local_vars = ident :: private_env.local_vars} in
  69 + let private_env = {local_vars = ident :: private_env.local_vars} in
70 70 private_env, ident
71 71
72 72 let declare_local_vars private_env =
73 73 let local_vars = private_env.local_vars in
74   - let private_env = {(*private_env with*) local_vars = []} in
  74 + let private_env = {local_vars = []} in
75 75 let declarations = List.map (fun i -> JsCons.Statement.var i) local_vars in
76 76 private_env, declarations
77 77

0 comments on commit d3f31cd

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