Bug 116 gefixt

This commit is contained in:
Fayez Abu Alia 2018-11-04 12:49:11 +01:00
parent 5ddc9201f7
commit e6387dca6b

View File

@ -374,7 +374,7 @@ public class BytecodeGen implements ASTVisitor {
allCons.removeAll(consToRemove);
allCons.addAll(result.keySet());
if(allCons.size()<2) {
if(!allCons.isEmpty() && allCons.size()<2) {
if(!result.containsKey(allCons.get(0)))
result.put(allCons.get(0), null);