src/Pure/PIDE/command.scala
changeset 73120 c3589f2dff31
parent 73115 a8e5d7c9a834
child 73357 31d4274f32de
--- a/src/Pure/PIDE/command.scala	Sat Jan 09 22:41:08 2021 +0100
+++ b/src/Pure/PIDE/command.scala	Sun Jan 10 13:04:29 2021 +0100
@@ -424,8 +424,8 @@
     {
       val cmds1 = this.commands
       val cmds2 = that.commands
-      require(!cmds1.exists(_.is_undefined))
-      require(!cmds2.exists(_.is_undefined))
+      require(!cmds1.exists(_.is_undefined), "cmds1 not defined")
+      require(!cmds2.exists(_.is_undefined), "cmds2 not defined")
       cmds1.length == cmds2.length &&
         (cmds1.iterator zip cmds2.iterator).forall({ case (c1, c2) => c1.id == c2.id })
     }