Просмотр исходного кода

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 5 лет назад
Родитель
Сommit
a7a7f84159
Не найден GPG ключ соответствующий данной подписи
1 измененных файлов: 1 добавлений и 0 удалений
  1. 1
    0
      JavaIntegration/src/main/java/org/openzen/zencode/java/JavaNativeModule.java

+ 1
- 0
JavaIntegration/src/main/java/org/openzen/zencode/java/JavaNativeModule.java Просмотреть файл

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

Загрузка…
Отмена
Сохранить