From 58ae0d03a13fbe159120c9356884f96dda37d575 Mon Sep 17 00:00:00 2001 From: Dmitry Petrashko Date: Tue, 23 Sep 2014 14:07:35 +0200 Subject: Fix errorneus equality between TermRef and WithFixedSym --- src/dotty/tools/dotc/core/Types.scala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/dotty/tools') diff --git a/src/dotty/tools/dotc/core/Types.scala b/src/dotty/tools/dotc/core/Types.scala index bbec70404..59adf764e 100644 --- a/src/dotty/tools/dotc/core/Types.scala +++ b/src/dotty/tools/dotc/core/Types.scala @@ -1335,7 +1335,8 @@ object Types { case that: NamedType => this.name == that.name && this.prefix == that.prefix && - !that.isInstanceOf[TermRefWithSignature] + !that.isInstanceOf[TermRefWithSignature] && + !that.isInstanceOf[WithFixedSym] case _ => false } -- cgit v1.2.3