aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/Types.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/dotty/tools/dotc/core/Types.scala')
-rw-r--r--src/dotty/tools/dotc/core/Types.scala3
1 files changed, 2 insertions, 1 deletions
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
}