Ticket #324 (closed enhancement: fixed)
Move to .Net 4.0: Use 'var' for type inference ( cobra codegen and RTL)
Reported by: | hopscc | Owned by: | |
---|---|---|---|
Priority: | medium | Milestone: | |
Component: | Cobra Compiler | Version: | 0.9.4 |
Keywords: | Cc: |
Description
C# .Net 4.0 supports type inference using a var keyword on a declaration.
Where necessary or useful perhaps modify cobra codegen to use it.
Modify C# native (RTL Native.cs) code to do same.
(I've a reservation for the task wrt doing this entirely in codegen because cobra does a pretty good job already without it and pushing this entirely to the backend makes porting/support for other backends dependent on them having type inference as well ( I'm looking at you Java)
Still there may be some possibilities).
Change History
Note: See
TracTickets for help on using
tickets.