Ticket #41 (closed defect: fixed)

Opened 11 months ago

Last modified 11 months ago

opCmp should be called on the rhs if there is no opCmp in the lhs

Reported by: JarrettBillingsley Assigned to: JarrettBillingsley
Priority: major Milestone: MiniD 2
Component: Interpreter Keywords:
Cc:

Description

Currently, stuff like "4 < a" where a is a user-defined type fails. It looks up opCmp in 4, doesn't find one, and fails. This should look up opCmp in a, and if found, call it with 4 as the argument (and of course invert the result).

Change History

01/19/08 16:16:47 changed by JarrettBillingsley

  • status changed from new to closed.
  • resolution set to fixed.

Dah.