|
@@ -73,14 +73,15 @@ public class JavaNativeModule {
|
73
|
73
|
this.basePackage = basePackage;
|
74
|
74
|
module = new Module(name);
|
75
|
75
|
this.registry = registry;
|
76
|
|
-
|
|
76
|
+
|
|
77
|
+ compiled = new JavaCompiledModule(module, FunctionParameter.NONE);
|
|
78
|
+
|
77
|
79
|
for (JavaNativeModule dependency : dependencies) {
|
78
|
80
|
definitionByClass.putAll(dependency.definitionByClass);
|
79
|
81
|
context.typeVariables.putAll(dependency.context.typeVariables);
|
|
82
|
+ compiled.addAllFrom(dependency.compiled);
|
80
|
83
|
}
|
81
|
84
|
|
82
|
|
- compiled = new JavaCompiledModule(module, FunctionParameter.NONE);
|
83
|
|
-
|
84
|
85
|
typeByClass.put(void.class, BasicTypeID.VOID);
|
85
|
86
|
typeByClass.put(boolean.class, BasicTypeID.BOOL);
|
86
|
87
|
typeByClass.put(byte.class, BasicTypeID.SBYTE);
|