Browse Source

Fix nasty bug when "dependent libs" not exported.

Herby Vojčík 6 years ago
parent
commit
be00ca7a09
1 changed files with 1 additions and 0 deletions
  1. 1 0
      external/sdk/lib/amberc.js

+ 1 - 0
external/sdk/lib/amberc.js

@@ -212,6 +212,7 @@ function create_compiler(configuration) {
         })
         .then(function () {
             configuration.globals.AmberBootstrapInitialization._organizeClasses();
+            (configuration.globals.Smalltalk._adoptPackageDictionary || configuration.globals.Smalltalk._adoptPackageDescriptors).call(configuration.globals.Smalltalk);
 
             console.log('Compiler loaded');