Skip to content

Commit 3f639b6

Browse files
committed
Drop redundant test
1 parent e25e286 commit 3f639b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/core/TypeApplications.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ class TypeApplications(val self: Type) extends AnyVal {
178178
val tsym = self.symbol
179179
if (tsym.isClass) tsym.typeParams
180180
else tsym.infoOrCompleter match {
181-
case info: LazyType if tsym.exists && isTrivial(self.prefix, tsym) => info.completerTypeParams(tsym)
181+
case info: LazyType if isTrivial(self.prefix, tsym) => info.completerTypeParams(tsym)
182182
case _ => self.info.typeParams
183183
}
184184
case self: AppliedType =>

0 commit comments

Comments
 (0)