summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/typechecker/Contexts.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/scala/tools/nsc/typechecker/Contexts.scala')
-rw-r--r--src/compiler/scala/tools/nsc/typechecker/Contexts.scala1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/Contexts.scala b/src/compiler/scala/tools/nsc/typechecker/Contexts.scala
index 156b9932cb..b33caf6d2a 100644
--- a/src/compiler/scala/tools/nsc/typechecker/Contexts.scala
+++ b/src/compiler/scala/tools/nsc/typechecker/Contexts.scala
@@ -99,6 +99,7 @@ trait Contexts requires Analyzer {
override def equals(that : Any) = that match {
case that if (super.equals(that)) => true
+ case NoContext => false
case that : Context =>
val a0 = if (tree == null) tree == that.tree else tree equalsStructure that.tree;
val a1 = owner == that.owner;