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 bb6a6cb commit ed856d5Copy full SHA for ed856d5
compiler/src/dotty/tools/dotc/core/TypeApplications.scala
@@ -461,7 +461,7 @@ class TypeApplications(val self: Type) extends AnyVal {
461
* otherwise return Nil.
462
* Existential types in arguments are returned as TypeBounds instances.
463
*/
464
- final def argInfos(implicit ctx: Context): List[Type] = self match {
+ final def argInfos(implicit ctx: Context): List[Type] = self.stripTypeVar.stripAnnots match {
465
case AppliedType(tycon, args) => args
466
case _ => Nil
467
}
0 commit comments