From 1133ab6a9a7fe6664be50e5f4871bd7e3c416bb5 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Fri, 22 Sep 2017 12:07:26 +0200 Subject: [PATCH] Add missing case in factories --- doc-tool/src/dotty/tools/dottydoc/model/factories.scala | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc-tool/src/dotty/tools/dottydoc/model/factories.scala b/doc-tool/src/dotty/tools/dottydoc/model/factories.scala index 4208fd7608f2..2f76859395c1 100644 --- a/doc-tool/src/dotty/tools/dottydoc/model/factories.scala +++ b/doc-tool/src/dotty/tools/dottydoc/model/factories.scala @@ -120,6 +120,9 @@ object factories { case ref @ RefinedType(parent, rn, info) => expandTpe(parent) //FIXME: will be a refined HK, aka class Foo[X] { def bar: List[X] } or similar + + case ref: TypeArgRef => + expandTpe(ref.underlying) } expandTpe(t)