Changeset 2308 for cobra/trunk/Source/Cobra.Lang/ExtendIEnumerable.cobra
- Timestamp:
- 03/10/10 09:27:45 (2 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
cobra/trunk/Source/Cobra.Lang/ExtendIEnumerable.cobra
r2110 r2308 47 47 return sb.toString 48 48 49 # TODO: should .toList return a List<of dynamic> or an ArrayList?50 # def toList as List<of dynamic>51 # def toList as ArrayList52 53 49 extend IEnumerable<of T> 54 50 … … 57 53 /# 58 54 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 59 56 http://cobra-language.com/trac/cobra/ticket/130 60 57 … … 73 70 for item in this 74 71 yield KeyValuePair<of int, T>(i, item) 72 i += 1 75 73 76 74 def reversed as List<of T>



