Ticket #328 (new enhancement)

Opened 5 years ago

Move to .Net 4.0: Support Co and ContraVariance

Reported by: hopscc Owned by:
Priority: minor Milestone:
Component: Cobra Compiler Version: 0.9.4
Keywords: Cc:


C# 4.0 supports defining co and contravariance on Generic Interfaces and Delegates. Augment cobra parsing and codegen to do same
Hopefully it will just be a passthrough cobra syntax to C#.

see Co and Contra Variance

Cobra syntax should probably be an optional tag ('in', out') before
generic Type placeholder definition.

Note: See TracTickets for help on using tickets.