diff options
Diffstat (limited to 'src/dotty/tools/dotc/typer/Applications.scala')
-rw-r--r-- | src/dotty/tools/dotc/typer/Applications.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/typer/Applications.scala b/src/dotty/tools/dotc/typer/Applications.scala index f81fcf3cd..bf49091ec 100644 --- a/src/dotty/tools/dotc/typer/Applications.scala +++ b/src/dotty/tools/dotc/typer/Applications.scala @@ -556,7 +556,7 @@ trait Applications extends Compatibility { self: Typer => if (tp derivesFrom defn.ProductClass) productSelectors else if (tp derivesFrom defn.SeqClass) seqSelector :: Nil - else if (tp.typeSymbol == defn.BooleanClass) Nil + else if (tp isRef defn.BooleanClass) Nil else if (extractorMemberType(nme.isDefined).exists && extractorMemberType(nme.get).exists) recur(extractorMemberType(nme.get)) else { |