Aladdin - Scala Bugtracking
[#625] project: compiler priority: low category: bug
submitter assigned to status date submitted
Burak Gilles open 2006-06-15 14:58:51.0
subject no staging for non-function types (1)
code
object Foo {
  val x: reflect.Code[int] = 42
}
what happened
[emir@lamppc31 /tmp]$ scalac -d . staging1.scala
staging1.scala:2 error: type mismatch;
 found   : scala.Int(42)
 required: scala.reflect.Code[scala.Int]
  val x: reflect.Code[int] = 42
                             ^
one error found
what expected code of staging
[back to overview]
Changes of this bug report