Skip to content

Commit 52623be

Browse files
committed
Reduce to four errors
1 parent 4dfb838 commit 52623be

File tree

1 file changed

+1
-0
lines changed
  • compiler/src/dotty/tools/dotc/transform/patmat

1 file changed

+1
-0
lines changed

compiler/src/dotty/tools/dotc/transform/patmat/Space.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -523,6 +523,7 @@ class SpaceEngine(implicit ctx: Context) extends SpaceLogic {
523523
val mt = pt.instantiate(tvars).asInstanceOf[MethodType]
524524
// println("mt.paramInfos(0) = " + mt.paramInfos(0))
525525
scrutineeTp <:< mt.paramInfos(0)
526+
mt.paramInfos(0) <:< scrutineeTp
526527
isFullyDefined(mt, ForceDegree.flipBottom)
527528
// println("mt = " + mt)
528529
mt

0 commit comments

Comments
 (0)