aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/i2200/Hello.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2017-04-09 15:09:54 +0200
committerMartin Odersky <odersky@gmail.com>2017-04-09 15:12:37 +0200
commitab101bcd299e060ad41cad2d1a91c3e32ae5267e (patch)
tree8057a5606062f7b3ede425688f4fac353b8a695b /tests/pos/i2200/Hello.scala
parent756ba3d0dd5fe6f0f1dd0a954fb764503433da02 (diff)
downloaddotty-ab101bcd299e060ad41cad2d1a91c3e32ae5267e.tar.gz
dotty-ab101bcd299e060ad41cad2d1a91c3e32ae5267e.tar.bz2
dotty-ab101bcd299e060ad41cad2d1a91c3e32ae5267e.zip
Tweak logic for hk type comparisons
Diffstat (limited to 'tests/pos/i2200/Hello.scala')
-rw-r--r--tests/pos/i2200/Hello.scala6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/pos/i2200/Hello.scala b/tests/pos/i2200/Hello.scala
new file mode 100644
index 000000000..47e8b2024
--- /dev/null
+++ b/tests/pos/i2200/Hello.scala
@@ -0,0 +1,6 @@
+package bar
+import scala.language.higherKinds
+class Fix[F[_]](unfix: F[Fix[F]])
+object DocTree {
+ def docTree(s: StreamTree[DocTree]): DocTree = new Fix(s: StreamTree[DocTree])
+}