Ticket #85 (closed defect: fixed)
Cannot use `for` expressions on non-generic IEnumerable type
Reported by: | Chuck | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Cobra Compiler | Version: | 0.8.0 |
Keywords: | Cc: |
Description
This should work, but fails with false compilation errors:
class Test def main is shared ie as System.Collections.IEnumerable = [1, 2, 3] # works: # ie as IEnumerable<of int> = [1, 2, 3] print for x in ie get x
Change History
Note: See
TracTickets for help on using
tickets.