src/Pure/PIDE/document.scala
changeset 52531 21f8e0e151f5
parent 52530 99dd8b4ef3fe
child 52563 f9a20c2c3b70
--- a/src/Pure/PIDE/document.scala	Fri Jul 05 15:38:03 2013 +0200
+++ b/src/Pure/PIDE/document.scala	Fri Jul 05 16:01:45 2013 +0200
@@ -334,7 +334,7 @@
 
     def defined_command(id: Document_ID.Command): Boolean = commands.isDefinedAt(id)
 
-    def find_command(version: Version, id: Document_ID.ID): Option[(Node, Command)] =
+    def find_command(version: Version, id: Document_ID.Generic): Option[(Node, Command)] =
       commands.get(id) orElse execs.get(id) match {
         case None => None
         case Some(st) =>
@@ -349,7 +349,7 @@
     def the_assignment(version: Version): State.Assignment =
       assignments.getOrElse(version.id, fail)
 
-    def accumulate(id: Document_ID.ID, message: XML.Elem): (Command.State, State) =
+    def accumulate(id: Document_ID.Generic, message: XML.Elem): (Command.State, State) =
       execs.get(id) match {
         case Some(st) =>
           val new_st = st + (id, message)