File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
compiler/src/dotty/tools/dotc/core Expand file tree Collapse file tree 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
20842084 ExprType (info1.resType)
20852085 case info1 => info1
20862086
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)))
20902091 end qualifies
20912092
20922093 tp1.member(name).hasAltWithInline(qualifies)
You can’t perform that action at this time.
0 commit comments