Skip to content

Commit f24fffa

Browse files
oderskysmarter
andauthored
Update compiler/src/dotty/tools/dotc/typer/ProtoTypes.scala
Co-Authored-By: Guillaume Martres <smarter@ubuntu.com>
1 parent 1c60fcf commit f24fffa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/typer/ProtoTypes.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,7 @@ object ProtoTypes {
534534
newTypeVar(TypeBounds.upper(AndType(tp.widenExpr, defn.SingletonClass.typeRef)))
535535

536536
/** The result type of `mt`, where all references to parameters of `mt` are
537-
* replaced by either wildcards (if typevarsMissContext) or TypeParamRefs.
537+
* replaced by either wildcards or TypeParamRefs.
538538
*/
539539
def resultTypeApprox(mt: MethodType, wildcardOnly: Boolean = false)(using Context): Type =
540540
if mt.isResultDependent then

0 commit comments

Comments
 (0)