Browse Source

JavaNativeModule: Add type parameter infos from dependend modules

Background: Otherwise they will throw Exceptions because the class definitions are there but not the type infos
kindlich 4 years ago
parent
commit
a7a7f84159
No known key found for this signature in database

+ 1
- 0
JavaIntegration/src/main/java/org/openzen/zencode/java/JavaNativeModule.java View File

@@ -76,6 +76,7 @@ public class JavaNativeModule {
76 76
 
77 77
 		for (JavaNativeModule dependency : dependencies) {
78 78
 			definitionByClass.putAll(dependency.definitionByClass);
79
+			context.typeVariables.putAll(dependency.context.typeVariables);
79 80
 		}
80 81
 
81 82
 		compiled = new JavaCompiledModule(module, FunctionParameter.NONE);

Loading…
Cancel
Save