Wiki
Show
Ignore:
Timestamp:
03/10/10 09:27:45 (2 years ago)
Author:
Chuck.Esterbrook
Message:

Code cleanup.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • cobra/trunk/Source/Cobra.Lang/ExtendIEnumerable.cobra

    r2110 r2308  
    4747                return sb.toString 
    4848 
    49     # TODO: should .toList return a List<of dynamic> or an ArrayList? 
    50     #   def toList as List<of dynamic> 
    51     #   def toList as ArrayList 
    52  
    5349    extend IEnumerable<of T> 
    5450 
     
    5753/# 
    5854    TODO: cannot do the following yet due to a bug in extensions and how they are chosen with respect to inheritance 
     55    these are available in lists though, so you can use .toList above 
    5956    http://cobra-language.com/trac/cobra/ticket/130 
    6057     
     
    7370            for item in this 
    7471                yield KeyValuePair<of int, T>(i, item) 
     72                i += 1 
    7573 
    7674        def reversed as List<of T>