mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 08:14:09 -08:00
Fix new Kotlin hacks
This commit is contained in:
parent
40ecb0938d
commit
9a83bfe4e9
|
@ -48,6 +48,10 @@ public class KotlinHacks implements ClassHolderTransformer {
|
|||
&& method.getName().equals("renderLambdaToString")
|
||||
&& method.getResultType().isObject(String.class)) {
|
||||
Program program = new Program();
|
||||
program.createVariable();
|
||||
for (int i = 0; i < method.parameterCount(); ++i) {
|
||||
program.createVariable();
|
||||
}
|
||||
BasicBlock block = program.createBasicBlock();
|
||||
|
||||
StringConstantInstruction stringConstant = new StringConstantInstruction();
|
||||
|
|
Loading…
Reference in New Issue
Block a user