Ticket #272 (new enhancement)

Opened 8 years ago

Support generic declaration of sig (delegate)

Reported by: hopscc Owned by:
Priority: medium Milestone:
Component: Cobra Compiler Version: 0.8.0
Keywords: Cc:


If you try and declare a sig as a generic the compiler currently gives a parse error

sig Function<of TParam, TReturn>( param as TParam) as TReturn


error: Encountered OPEN_GENERIC when expecting an identifier.

This should be allowed.

See longer sample in ticket:271 (Torial)
C# code at

Note: See TracTickets for help on using tickets.