diff options
Diffstat (limited to 'src/dotty/tools/dotc/typer/Applications.scala')
-rw-r--r-- | src/dotty/tools/dotc/typer/Applications.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/typer/Applications.scala b/src/dotty/tools/dotc/typer/Applications.scala index 56595a637..e2779e758 100644 --- a/src/dotty/tools/dotc/typer/Applications.scala +++ b/src/dotty/tools/dotc/typer/Applications.scala @@ -1019,7 +1019,7 @@ trait Applications extends Compatibility { self: Typer with Dynamic => // todo: make sure implicit method types are not dependent? // but check test case in /tests/pos/depmet_implicit_chaining_zw.scala case pt: PolyType => - pt.derivedPolyType(pt.paramNames, pt.paramBounds, stripImplicit(pt.resultType)) + pt.derivedGenericType(pt.paramNames, pt.paramBounds, stripImplicit(pt.resultType)) case _ => tp } |