summaryrefslogtreecommitdiff
path: root/test/files/pos
diff options
context:
space:
mode:
authorJames Iry <jamesiry@gmail.com>2013-02-08 07:34:11 -0800
committerJames Iry <jamesiry@gmail.com>2013-02-08 07:34:11 -0800
commitc0d1bc4cc4cb2958af69305d286ff684306617a5 (patch)
treeaf67a07ac877e3e34fa4e227bf48786d300352d9 /test/files/pos
parentabc87e25d9a8030ed65677df9b41f302025c1717 (diff)
parent81fa8316092e295c1a893b6fcf65568c11fffb58 (diff)
downloadscala-c0d1bc4cc4cb2958af69305d286ff684306617a5.tar.gz
scala-c0d1bc4cc4cb2958af69305d286ff684306617a5.tar.bz2
scala-c0d1bc4cc4cb2958af69305d286ff684306617a5.zip
Merge pull request #2017 from retronym/ticket/6666
Booking more progress on SI-6666
Diffstat (limited to 'test/files/pos')
-rw-r--r--test/files/pos/t6259.scala47
1 files changed, 0 insertions, 47 deletions
diff --git a/test/files/pos/t6259.scala b/test/files/pos/t6259.scala
deleted file mode 100644
index 43361c417e..0000000000
--- a/test/files/pos/t6259.scala
+++ /dev/null
@@ -1,47 +0,0 @@
-package t6259
-
-import scala.reflect.runtime.universe._
-
-class A[X](implicit val tt: TypeTag[X]) {}
-object B extends A[String]
-
-object C {
- object D extends A[String]
-}
-
-trait E {
- object F extends A[String]
-}
-
-class G {
- object H extends A[String]
-}
-
-object Test {
- val x = {
- object InVal extends A[String]
- 5
- }
-
-}
-
-// Note: Both of these fail right now.
-
-trait NeedsEarly {
- val x: AnyRef
-}
-
-object Early extends {
- // Drops to this.getClass and is not ok...
- val x = { object EarlyOk extends A[String]; EarlyOk }
-} with NeedsEarly
-
-
-class DoubleTrouble[X](x: AnyRef)(implicit override val tt: TypeTag[X]) extends A[X]
-
-object DoubleOk extends DoubleTrouble[String]({
- // Drops to this.getClass and is an issue
- object InnerTrouble extends A[String];
- InnerTrouble
-})
-