mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-23 00:24:11 -08:00
Fix bug in emit API
This commit is contained in:
parent
6ab53cbf6a
commit
04c6d77c87
|
@ -258,7 +258,7 @@ public class ValueEmitter {
|
|||
GetElementInstruction insn = new GetElementInstruction();
|
||||
insn.setArray(variable);
|
||||
insn.setIndex(index.variable);
|
||||
insn.setReceiver(variable);
|
||||
insn.setReceiver(result);
|
||||
pe.addInstruction(insn);
|
||||
return pe.var(result);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user