diff options
author | Martin Odersky <odersky@gmail.com> | 2015-06-19 23:38:35 +0200 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2015-06-19 23:38:35 +0200 |
commit | dfa0ef767b884cd5d00fe0508f2dc4b262fa9221 (patch) | |
tree | 30e08422048d3b9ebd87b324c08c28c86b395458 /src/dotty/tools/dotc/core/Types.scala | |
parent | c03b9655be4ea08d02c28771b3e203a4a91d29f2 (diff) | |
download | dotty-dfa0ef767b884cd5d00fe0508f2dc4b262fa9221.tar.gz dotty-dfa0ef767b884cd5d00fe0508f2dc4b262fa9221.tar.bz2 dotty-dfa0ef767b884cd5d00fe0508f2dc4b262fa9221.zip |
Fixed typo in doc comment.
Diffstat (limited to 'src/dotty/tools/dotc/core/Types.scala')
-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 { |