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 cceff77 commit 7a282adCopy full SHA for 7a282ad
compiler/src/dotty/tools/dotc/core/TypeApplications.scala
@@ -310,7 +310,6 @@ class TypeApplications(val self: Type) extends AnyVal {
310
*/
311
final def appliedTo(args: List[Type])(using Context): Type = {
312
record("appliedTo")
313
- val typParams = self.typeParams
314
val stripped = self.stripTypeVar
315
val dealiased = stripped.safeDealias
316
if (args.isEmpty || ctx.erasedTypes) self
0 commit comments