Aladdin - Scala Bugtracking
[#236] project: compiler priority: medium category: bug
submitter assigned to status date submitted
Matthias Martin fixed 2003-11-25 11:29:16.0
subject Access modifiers for constructors
code
class A {
  private def this(i: Int) = this();
}
class B extends A(1);
what happened
This compiles.
what expected Error message saying constructor A(Int) is not accessible.
[back to overview]
Changes of this bug report
Matthias  edited on  2003-11-25 11:30:37.0
Martin  edited on  2004-01-05 17:45:04.0