Pārlūkot izejas kodu

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 gadus atpakaļ
vecāks
revīzija
a7a7f84159
Šim parakstam datu bāzē netika atrasta zināma atslēga

+ 1
- 0
JavaIntegration/src/main/java/org/openzen/zencode/java/JavaNativeModule.java Parādīt failu

@@ -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);

Notiek ielāde…
Atcelt
Saglabāt