Ticket #237 (closed defect: fixed)
== 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
Note: See
TracTickets for help on using
tickets.



