Aladdin - Scala Bugtracking
[#61] project: compiler priority: medium category: bug
submitter assigned to status date submitted
Burak Martin fixed 2003-07-07 22:37:05.0
subject Analyser does not recognize case class
code
object O {

  class testClass ;

  case class testA() extends testClass ; // works if you leave away "extends..."
                                         // or if you write TestA
  def ga( x:testClass ) = x match {
	  case testA() => ()
  }
}
what happened
O.scala:8: class O.testClass is neither a case class constructor nor a sequence class constructor
	  case testA() => ()
          ^
what expected compilation without error
[back to overview]
Changes of this bug report
Martin  edited on  2003-07-08 15:15:53.0
Burak  edited on  2003-07-08 19:37:11.0
was condition in Analyzer.adapt