| [#320] | project: compiler | priority: high | category: bug | |
|---|---|---|---|---|
| submitter | assigned to | status | date submitted | |
| Stephane | Martin | fixed | 2004-04-21 12:51:57.0 | |
| subject | NullPointerException in typechecker | |||
| code |
object test with Application {
val xss = List(2, 4, 1); // correct: List(List(2, 4, 1));
val ys = xss flatMap {
case x :: xs => List(x)
case Nil => Nil
}
} |
|||
| what happened | |
|||
| what expected | Compiler should print out an error message. | |||
| [back to overview] | ||||
| Martin edited on 2004-04-22 10:32:51.0 |