Wiki

Ticket #250 (closed defect: fixed)

Opened 14 years ago

Last modified 14 years ago

COBRA INTERNAL ERROR with enumeration

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

Description

@args -pkg:gtk-sharp-2.0

use Cairo from Mono.Cairo

class P

    def main
        # error: COBRA INTERNAL ERROR / ArgumentException / An element with the same key already exists in the dictionary.
        using surface = Cairo.ImageSurface(Cairo.Format.Argb32, 1, 1)
            pass
        # ok
        using surface = Cairo.ImageSurface(sharp'Cairo.Format.Argb32', 1, 1)
            pass

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:2423

Changed 14 years ago by nevdelap

Confirmed fixed for my code. Thanks!

Note: See TracTickets for help on using tickets.