We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c03b965 commit dfa0ef7Copy full SHA for dfa0ef7
src/dotty/tools/dotc/core/Types.scala
@@ -601,7 +601,7 @@ object Types {
601
ctx.typeComparer.isSameType(this, that)
602
}
603
604
- /** 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`? */
605
def isValueSubType(that: Type)(implicit ctx: Context) = widenExpr match {
606
case self: TypeRef if defn.ScalaValueClasses contains self.symbol =>
607
that.widenExpr match {
0 commit comments