Aladdin - Scala Bugtracking
[#143] project: compiler priority: medium category: bug
submitter assigned to status date submitted
Philippe Martin fixed 2003-09-12 16:30:49.0
subject overrinding type alias raise StackOverflowError
code
abstract class Foo {
  class Inner;
  type Alias = Inner;
}

class Bar extends Foo {
  type Inner = Alias;
}
what happened
Raises a StackOverflowError at compile-time
what expected An error message or maybe a successful compilation but certainly not compile-time exception.
[back to overview]
Changes of this bug report
Martin  edited on  2003-09-16 17:12:03.0