Skip to content

Commit dfa0ef7

Browse files
committed
Fixed typo in doc comment.
1 parent c03b965 commit dfa0ef7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dotty/tools/dotc/core/Types.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,7 @@ object Types {
601601
ctx.typeComparer.isSameType(this, that)
602602
}
603603

604-
/** Is this type a primitive value type which can be widened to the primitive value type `to`? */
604+
/** Is this type a primitive value type which can be widened to the primitive value type `that`? */
605605
def isValueSubType(that: Type)(implicit ctx: Context) = widenExpr match {
606606
case self: TypeRef if defn.ScalaValueClasses contains self.symbol =>
607607
that.widenExpr match {

0 commit comments

Comments
 (0)