proper type comparison (amending cd4439d8799c);
authorwenzelm
Thu, 16 Oct 2014 10:59:43 +0200
changeset 58693 4c9aa5f7bfa0
parent 58692 80832ae207ad
child 58694 983e98da2a42
proper type comparison (amending cd4439d8799c);
src/Tools/jEdit/src/token_markup.scala
--- a/src/Tools/jEdit/src/token_markup.scala	Thu Oct 16 10:43:34 2014 +0200
+++ b/src/Tools/jEdit/src/token_markup.scala	Thu Oct 16 10:59:43 2014 +0200
@@ -181,7 +181,7 @@
     override def hashCode: Int = context.hashCode
     override def equals(that: Any): Boolean =
       that match {
-        case other: Line_Context => context == other.context
+        case other: Generic_Line_Context[_] => context == other.context
         case _ => false
       }
   }