| [#1000] | project: compiler | priority: low | category: bug | |
|---|---|---|---|---|
| submitter | assigned to | status | date submitted | |
| Nikolay | Martin | fixed | 2007-03-13 10:31:03.0 | |
| subject | [contrib #374] Array.filter compiler crash | |||
| code |
// This crashes Array(1,2,3,4,5,6,7).filter(x => true).length // but this works val x = Array(1,2,3,4,5,6,7).filter(x => true) x.length |
|||
| what happened | Big code dump with scala.tools.nsc.symtab.Types$TypeError: value length is not a member of scala.Iterable. All m\ ethods of Array that are not methods of Iterable are affected. |
|||
| what expected | 7 | |||
| [back to overview] | ||||
| Nikolay edited on 2007-03-13 10:32:08.0 |
| contribution #374. and bug #1000. congratulations! :) |
| Martin edited on 2007-03-14 15:45:26.0 |
| This one was tricky. It's like bug 1000 did not want to be fixed ;-) |