File tree 1 file changed +4
-3
lines changed
compiler/src/dotty/tools/dotc/core
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -2084,9 +2084,10 @@ class TypeComparer(@constructorOnly initctx: Context) extends ConstraintHandling
2084
2084
ExprType (info1.resType)
2085
2085
case info1 => info1
2086
2086
2087
- (isSubInfo(info1, info2, m.symbol.info.orElse(info1)) && m.symbol.hasTargetName(m.symbol.name))
2088
- || matchAbstractTypeMember(m.info)
2089
- || (tp1.isStable && m.symbol.isStableMember && isSubType(TermRef (tp1, m.symbol), tp2.refinedInfo))
2087
+ m.symbol.hasTargetName(m.symbol.name) && (
2088
+ isSubInfo(info1, info2, m.symbol.info.orElse(info1))
2089
+ || matchAbstractTypeMember(m.info)
2090
+ || (tp1.isStable && m.symbol.isStableMember && isSubType(TermRef (tp1, m.symbol), tp2.refinedInfo)))
2090
2091
end qualifies
2091
2092
2092
2093
tp1.member(name).hasAltWithInline(qualifies)
You can’t perform that action at this time.
0 commit comments