Open GoogleCodeExporter opened 9 years ago
[deleted comment]
java code:
int accessSetInt() {
field obj = new field();
obj.fieldInt = 777;
return obj.getFieldInt();
}
During java bytecode to phantom byte code translation :
INFO: Processing obj_test.class
obj_test.class:
Exception in thread "main" no such field in class in ident Node (fieldInt)
at ru.dz.plc.compiler.node.IdentNode.preprocess_me(IdentNode.java:71)
at ru.dz.plc.compiler.node.Node.preprocess(Node.java:138)
at ru.dz.plc.compiler.binode.BiNode.preprocess(BiNode.java:68)
at ru.dz.plc.compiler.binode.BiNode.preprocess(BiNode.java:68)
at ru.dz.plc.compiler.binode.BiNode.preprocess(BiNode.java:69)
at ru.dz.plc.compiler.binode.BiNode.preprocess(BiNode.java:69)
at ru.dz.jpc.tophantom.MethGen.mgen(MethGen.java:221)
at ru.dz.jpc.tophantom.CFile.write(CFile.java:118)
at ru.dz.jpc.tophantom.Trans.doname(Trans.java:321)
at ru.dz.jpc.tophantom.Trans.main(Trans.java:100)
Original comment by akhtyamo...@gmail.com
on 15 Jan 2011 at 2:39
Original issue reported on code.google.com by
akhtyamo...@gmail.com
on 15 Jan 2011 at 2:22