proper priority for error over warning also for node_status (see 9c5220e05e04);
authorwenzelm
Sat, 02 Aug 2014 19:29:02 +0200
changeset 57843 d8966c09025c
parent 57842 8e4ae2db1849
child 57844 ae3eac418c5f
proper priority for error over warning also for node_status (see 9c5220e05e04);
src/Pure/PIDE/protocol.scala
--- a/src/Pure/PIDE/protocol.scala	Sat Aug 02 16:35:59 2014 +0200
+++ b/src/Pure/PIDE/protocol.scala	Sat Aug 02 19:29:02 2014 +0200
@@ -145,8 +145,8 @@
       val status = Status.merge(states.iterator.map(_.protocol_status))
 
       if (status.is_running) running += 1
+      else if (status.is_failed) failed += 1
       else if (status.is_warned) warned += 1
-      else if (status.is_failed) failed += 1
       else if (status.is_finished) finished += 1
       else unprocessed += 1
     }