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 1c60fcf commit f24fffaCopy full SHA for f24fffa
compiler/src/dotty/tools/dotc/typer/ProtoTypes.scala
@@ -534,7 +534,7 @@ object ProtoTypes {
534
newTypeVar(TypeBounds.upper(AndType(tp.widenExpr, defn.SingletonClass.typeRef)))
535
536
/** The result type of `mt`, where all references to parameters of `mt` are
537
- * replaced by either wildcards (if typevarsMissContext) or TypeParamRefs.
+ * replaced by either wildcards or TypeParamRefs.
538
*/
539
def resultTypeApprox(mt: MethodType, wildcardOnly: Boolean = false)(using Context): Type =
540
if mt.isResultDependent then
0 commit comments