Aladdin - Scala Bugtracking
[#363] project: compiler priority: low category: bug
submitter assigned to status date submitted
Philippe Martin fixed 2004-09-23 14:21:00.0
subject compiler crashes when a mixin generates mutually recursive types
code
trait C {
  type S;
  type T;
}

trait CS extends C {
  type S = T;
}

trait CT extends C {
  type T = S;
}

class CST extends CS with CT;
what happened
Exception in thread "main" java.lang.StackOverflowError
what expected An error message telling that types S and T are mutually recusrive in class CST.
[back to overview]
Changes of this bug report
Martin  edited on  2004-11-18 15:18:42.0