| [#41] | project: compiler | priority: medium | category: bug | |
|---|---|---|---|---|
| submitter | assigned to | status | date submitted | |
| Matthias | Michel | fixed | 2003-06-25 09:36:40.0 | |
| subject | Incorrect mixin composition | |||
| code |
class C {
val x: Object = null;
}
class D with C {
}
object Bug {
def main(args: Array[String]) = {
val obj = new D;
}
} |
|||
| what happened | The program compiles, but execution of module Bug yields the following error:
|
|||
| what expected | No error at compile- and runtime. | |||
| [back to overview] | ||||