Permalink
Browse files

Move a test from pos to run to highlight bytecode deficiencies.

We'll address them in subsequent commits.
  • Loading branch information...
1 parent 1a7de43 commit ee24807f8706bb91b9d854eaba39f0ddd9c2a054 @retronym retronym committed Jan 28, 2013
Showing with 14 additions and 5 deletions.
  1. +14 −5 test/files/{pos → run}/t6259.scala
@@ -1,5 +1,3 @@
-package t6259
-
import scala.reflect.runtime.universe._
class A[X](implicit val tt: TypeTag[X]) {}
@@ -17,16 +15,15 @@ class G {
object H extends A[String]
}
-object Test {
+object HasX {
val x = {
object InVal extends A[String]
+ InVal
5
}
}
-// Note: Both of these fail right now.
-
trait NeedsEarly {
val x: AnyRef
}
@@ -45,3 +42,15 @@ object DoubleOk extends DoubleTrouble[String]({
InnerTrouble
})
+object Test extends App {
+ B
+ C.D
+ val e = new E {}; e.F
+ val g = new G; g.H
+
+ //locally(HasX.x) TODO sort out VerifyError in HasX$InVal$2$.<init> by accounting for nesting in Namer#inConstructorFlag
+ // locally(Early.x) TODO sort out VerifyError in Early$.<init>
+ // DoubleOk TODO sort out VerifyError in DoubleOk$.<init>
+}
+
+

0 comments on commit ee24807

Please sign in to comment.