| [#36] | project: compiler | priority: medium | category: bug | |
|---|---|---|---|---|
| submitter | assigned to | status | date submitted | |
| Vincent | Martin | not repro | 2003-06-13 13:36:13.0 | |
| subject | loop in typechecker | |||
| code |
object m {
val xs: List[int] = Nil;
def f(i: int) = 0;
val v = xs map f;
def m() = {}
}
|
|||
| what happened | stack-overflow of the typechecker. Does not happen without function "m" or if the module has a different name. I\ f we replace "def m()" with "def m" there is another strange error: "value f is not a member of scala.Unit" |
|||
| what expected | compilation without error | |||
| [back to overview] | ||||