We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf26eeb commit eae920aCopy full SHA for eae920a
tests/pos/packageobjecttypealias/Hello.scala
@@ -2,5 +2,7 @@ package bar
2
import scala.language.higherKinds
3
class Fix[F[_]](unfix: F[Fix[F]])
4
object DocTree {
5
+ type StreamTree[T] = Stream[Int]
6
+ type DocTree = Fix[StreamTree]
7
def docTree(s: StreamTree[DocTree]): DocTree = new Fix(s)
8
}
tests/pos/packageobjecttypealias/package.scala
0 commit comments