Wiki

Ticket #237 (closed defect: fixed)

Opened 14 years ago

Last modified 14 years ago

== not working where equals() works

Reported by: nevdelap Owned by:
Priority: minor Milestone:
Component: Cobra Compiler Version: 0.8.0
Keywords: Cc:

Description

use Cairo from Mono.Cairo

class Program

   def main
      assert PointD(1, 2).equals(PointD(1, 2))
      assert PointD(1, 2) == PointD(1, 2) # error: Operator "==" cannot be applied to operands of type "Cairo.PointD" and "Cairo.PointD"

See also:  http://cobra-language.com/forums/viewtopic.php?f=4&t=646

Change History

Changed 14 years ago by Chuck

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

Thanks for the report. Fixed in changeset:2422

Note: See TracTickets for help on using tickets.