compiler: drop TODO comment, #294 was fixed a while ago

This commit is contained in:
Roman Khimov 2019-09-07 10:09:42 +03:00
parent dd357c9119
commit 1c7d203993

View file

@ -720,9 +720,6 @@ func (c *codegen) convertToken(tok token.Token) {
case token.GEQ:
emitOpcode(c.prog, vm.GTE)
case token.EQL:
// TODO: this is wrong (and the next one also is), see issue #294
// Changing it EQUAL is not that big of an improvement, so we're
// using NUMEQUAL for now
emitOpcode(c.prog, vm.NUMEQUAL)
case token.NEQ:
emitOpcode(c.prog, vm.NUMNOTEQUAL)