forked from JavaTX/JavaCompilerCore
Fix using the wrong constructor
This commit is contained in:
parent
2dff7909ed
commit
6b767bc09b
0
resources/insertGenericsJav/TestAssign.jav
Normal file
0
resources/insertGenericsJav/TestAssign.jav
Normal file
@ -880,7 +880,7 @@ public class JavaTXCompiler {
|
||||
path = new File(outputPath ,sf.getPkgName().replace(".","/")); //add package path to root path
|
||||
}
|
||||
|
||||
var converter = new ASTToTargetAST(typeinferenceResult);
|
||||
var converter = new ASTToTargetAST(typeinferenceResult, sf, classLoader);
|
||||
var generatedClasses = new HashMap<JavaClassName, byte[]>();
|
||||
for (var clazz : sf.getClasses()) {
|
||||
var codegen = new Codegen(converter.convert(clazz));
|
||||
|
Loading…
Reference in New Issue
Block a user