mirror of
https://github.com/konsoletyper/teavm.git
synced 2024-11-27 01:30:35 +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