Skip to content

Commit 4196aa5

Browse files
committed
Fix the fix
1 parent 3f96efe commit 4196aa5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/core/TypeComparer.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -1648,7 +1648,7 @@ class TypeComparer(initctx: Context) extends ConstraintHandling {
16481648
tp1.derivedRefinedType(tp1.parent & tp2.parent, tp1.refinedName, jointInfo)
16491649
}
16501650
catch {
1651-
case ex: MergeError => tp1.parent & tp2.parent
1651+
case ex: MergeError => NoType
16521652
}
16531653
case _ =>
16541654
NoType

0 commit comments

Comments
 (0)