Add case-statement for OR, which still needs to be implemented.

This commit is contained in:
Julius Volz 2013-01-17 23:45:18 +01:00
parent a555ded2b3
commit 6929c10acf

View file

@ -450,6 +450,8 @@ func evalVectorBinop(opType BinOpType,
} }
case AND: case AND:
return lhs, true return lhs, true
case OR:
return lhs, true // TODO: implement OR
} }
panic("Not all enum values enumerated in switch") panic("Not all enum values enumerated in switch")
} }