aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/selftypes.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2013-10-10 18:27:13 +0200
committerMartin Odersky <odersky@gmail.com>2013-10-10 18:27:57 +0200
commit13495dab10ca9db14d12198303f11207b6b2d5dc (patch)
tree6b26a76a5284445ebafc90d37d73f8d384002035 /tests/pos/selftypes.scala
parentd13fa248d5c53b165ab4f927099d0e25303ef39a (diff)
downloaddotty-13495dab10ca9db14d12198303f11207b6b2d5dc.tar.gz
dotty-13495dab10ca9db14d12198303f11207b6b2d5dc.tar.bz2
dotty-13495dab10ca9db14d12198303f11207b6b2d5dc.zip
New TypeArgs flag
Diffstat (limited to 'tests/pos/selftypes.scala')
-rw-r--r--tests/pos/selftypes.scala19
1 files changed, 0 insertions, 19 deletions
diff --git a/tests/pos/selftypes.scala b/tests/pos/selftypes.scala
deleted file mode 100644
index 94e4a5760..000000000
--- a/tests/pos/selftypes.scala
+++ /dev/null
@@ -1,19 +0,0 @@
-object selftypes {
-
- trait LinearSeqLike[+A, +Repr <: LinearSeqLike[A, Repr]] {
- self: Repr =>
-
- type X
-
- def toX: X
-
- }
-
- abstract class LS[+A] extends LinearSeqLike[A, LS[A]] {
-
- }
-
- val x: LS[Int] = null
-
- x.toX
-} \ No newline at end of file