forked from JavaTX/JavaCompilerCore
Bug 116 gefixt
This commit is contained in:
parent
5ddc9201f7
commit
e6387dca6b
@ -374,7 +374,7 @@ public class BytecodeGen implements ASTVisitor {
|
|||||||
allCons.removeAll(consToRemove);
|
allCons.removeAll(consToRemove);
|
||||||
allCons.addAll(result.keySet());
|
allCons.addAll(result.keySet());
|
||||||
|
|
||||||
if(allCons.size()<2) {
|
if(!allCons.isEmpty() && allCons.size()<2) {
|
||||||
|
|
||||||
if(!result.containsKey(allCons.get(0)))
|
if(!result.containsKey(allCons.get(0)))
|
||||||
result.put(allCons.get(0), null);
|
result.put(allCons.get(0), null);
|
||||||
|
Loading…
Reference in New Issue
Block a user