From dfa0ef767b884cd5d00fe0508f2dc4b262fa9221 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Fri, 19 Jun 2015 23:38:35 +0200 Subject: Fixed typo in doc comment. --- src/dotty/tools/dotc/core/Types.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- cgit v1.2.3