[#78] | project: compiler | priority: medium | category: bug | |
---|---|---|---|---|
submitter | assigned to | status | date submitted | |
Matthias | Michel | fixed | 2003-07-21 13:27:38.0 | |
subject | Some methods not mixed in | |||
code |
trait A { override def toString(): String = "A"; } trait B with A {} class C with B {} object Main { def main(args: Array[String]) = { System.out.println(new C); } } |
|||
what happened | Output is:C$class@32fb4f |
|||
what expected | Expected output:
A |
|||
[back to overview] |
Philippe edited on 2003-07-21 18:06:42.0 |
Reorganized phases I and II to clone all symbols in phase I. Revised renaming and cloning strategies to avoid false renaming & shadowing. |
Philippe edited on 2003-07-21 18:07:56.0 |