diff options
-rw-r--r-- | src/dotty/tools/dotc/core/Types.scala | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/dotty/tools/dotc/core/Types.scala b/src/dotty/tools/dotc/core/Types.scala index 71c2ce5de..c4484c892 100644 --- a/src/dotty/tools/dotc/core/Types.scala +++ b/src/dotty/tools/dotc/core/Types.scala @@ -650,8 +650,6 @@ object Types { if (args.isEmpty) this else this match { - case tp: PolyType => - tp.instantiate(args) case tp: TypeRef => val tsym = tp.symbol if (tsym.isAliasType) tp.underlying.appliedTo(args) |