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 aef96f6 commit c812c5dCopy full SHA for c812c5d
compiler/src/dotty/tools/dotc/typer/Applications.scala
@@ -1897,7 +1897,8 @@ trait Applications extends Compatibility {
1897
}
1898
1899
/** The type of alternative `alt` after instantiating its first parameter
1900
- * clause with `argTypes`.
+ * clause with `argTypes`. In addition, if the resulting type is a PolyType
1901
+ * and `typeArgs` matches its parameter list, instantiate the result with `typeArgs`.
1902
*/
1903
def skipParamClause(argTypes: List[Type], typeArgs: List[Type])(alt: TermRef): Type =
1904
def skip(tp: Type): Type = tp match {
0 commit comments