Ticket #187 (new defect)
Short circuit evaluation for chained comparisons
Reported by: | Chuck | Owned by: | |
---|---|---|---|
Priority: | medium | Milestone: | |
Component: | Cobra Compiler | Version: | 0.8.0 |
Keywords: | Cc: |
Description
Like other boolean expressions, chained comparisons should short circuit. That means that subsequent expressions are not even evaluated if not needed.
There is a test case commented out in Tests/320-misc-two/260-chained-comparison.cobra
The original work was on ticket:161 and changeset:2229
Change History
Note: See
TracTickets for help on using
tickets.