[#417] | project: compiler | priority: low | category: feature | |
---|---|---|---|---|
submitter | assigned to | status | date submitted | |
Michel | Iulian | noise | 2005-04-09 18:17:36.0 | |
subject | Traits inherited repeatedly should not be copied several times | |||
code |
trait T1 { def f: Int = 1; } trait T2 with T1; trait T3 with T1; class C with T2 with T3; |
|||
what happened | Class |
|||
what expected | A slightly smaller class, with a single copy of the members of T1 . (I've given this to Iulian, as he seems to be responsible for that phase in the new compiler. I fear I won't have time to fix this in the current compiler). |
|||
[back to overview] |
Iulian edited on 2006-08-22 14:04:48.0 |
This bug is relative to scala 1. |