aboutsummaryrefslogtreecommitdiff
path: root/tests/pending/run/t6385.scala
diff options
context:
space:
mode:
authorodersky <odersky@gmail.com>2015-08-04 11:18:41 -0700
committerodersky <odersky@gmail.com>2015-08-04 11:18:41 -0700
commit07e24e8640acf19a6bcedd1b68acbd7c8d8bf29b (patch)
treecc81897dd66a0353587ff83e297bfff3bac7c7d5 /tests/pending/run/t6385.scala
parent056e1246c9dc365bd37627923b999a80a57ca0f9 (diff)
parentd5280358d12c43c3268653c95c7edf3dcc7d60bf (diff)
downloaddotty-07e24e8640acf19a6bcedd1b68acbd7c8d8bf29b.tar.gz
dotty-07e24e8640acf19a6bcedd1b68acbd7c8d8bf29b.tar.bz2
dotty-07e24e8640acf19a6bcedd1b68acbd7c8d8bf29b.zip
Merge pull request #735 from dotty-staging/ycheck-methods
Ycheck that methods defined in ClassInfo exist in tree.
Diffstat (limited to 'tests/pending/run/t6385.scala')
-rw-r--r--tests/pending/run/t6385.scala13
1 files changed, 0 insertions, 13 deletions
diff --git a/tests/pending/run/t6385.scala b/tests/pending/run/t6385.scala
deleted file mode 100644
index f86fe8c14..000000000
--- a/tests/pending/run/t6385.scala
+++ /dev/null
@@ -1,13 +0,0 @@
-object Test {
- def main(args: Array[String]): Unit = {
- val y: AA[Int] = C(2)
- val c: Int = y.x.y
- assert(c == 2)
- }
-}
-trait AA[T] extends Any {
- def x: C[T]
-}
-case class C[T](val y: T) extends AnyVal with AA[T] {
- def x = this
-}