Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.5.6, 1.6-beta-1
-
None
-
None
-
any
Description
file.eachLine
{ line, number -> assert number > 0 }Programmers would expect the line numbers to start with 0, 1,...
Furthermore the current behaviour is incompatible with e.g. List.eachWithIndex what makes it difficult to write closures that work in both cases.