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 e25e286 commit 3f639b6Copy full SHA for 3f639b6
compiler/src/dotty/tools/dotc/core/TypeApplications.scala
@@ -178,7 +178,7 @@ class TypeApplications(val self: Type) extends AnyVal {
178
val tsym = self.symbol
179
if (tsym.isClass) tsym.typeParams
180
else tsym.infoOrCompleter match {
181
- case info: LazyType if tsym.exists && isTrivial(self.prefix, tsym) => info.completerTypeParams(tsym)
+ case info: LazyType if isTrivial(self.prefix, tsym) => info.completerTypeParams(tsym)
182
case _ => self.info.typeParams
183
}
184
case self: AppliedType =>
0 commit comments