diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/dotty/tools/dotc/core/Types.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/core/Types.scala b/src/dotty/tools/dotc/core/Types.scala index af66257fd..026e69539 100644 --- a/src/dotty/tools/dotc/core/Types.scala +++ b/src/dotty/tools/dotc/core/Types.scala @@ -601,7 +601,7 @@ object Types { ctx.typeComparer.isSameType(this, that) } - /** Is this type a primitive value type which can be widened to the primitive value type `to`? */ + /** Is this type a primitive value type which can be widened to the primitive value type `that`? */ def isValueSubType(that: Type)(implicit ctx: Context) = widenExpr match { case self: TypeRef if defn.ScalaValueClasses contains self.symbol => that.widenExpr match { |