Permalink
Browse files

[fix] compiler, jsimp: Save fake object for packages with no client code

  • Loading branch information...
BourgerieQuentin committed Sep 24, 2012
1 parent 246c165 commit 2185f0500c3c96795e3c5951f4c2da406039a1b0
Showing with 2 additions and 1 deletion.
  1. +2 −1 compiler/qmljsimp/imp_Compiler.ml
@@ -276,7 +276,8 @@ let dummy_compile () =
R.save
~env:Imp_Inlining.empty_env
~loaded_env:Imp_Inlining.empty_env
- ~initial_env:Imp_Inlining.empty_env
+ ~initial_env:Imp_Inlining.empty_env;
+ ignore (Imp_Sharing.process_code ~pass:"js" [])
module Backend =
struct

0 comments on commit 2185f05

Please sign in to comment.