proper filterNot, not filterNot-not;
authorwenzelm
Sun, 26 Feb 2023 21:16:38 +0100
changeset 77385 4a7c42c84743
parent 77384 ef6673859c38
child 77386 cae3d891adff
proper filterNot, not filterNot-not;
src/Pure/Tools/build_process.scala
--- a/src/Pure/Tools/build_process.scala	Sun Feb 26 21:05:39 2023 +0100
+++ b/src/Pure/Tools/build_process.scala	Sun Feb 26 21:16:38 2023 +0100
@@ -399,7 +399,7 @@
 
     def update_results(db: SQL.Database, results: Map[String, Build_Process.Result]): Boolean = {
       val old_results = read_results_name(db)
-      val insert = results.iterator.filterNot(p => !old_results.contains(p._1)).toList
+      val insert = results.iterator.filterNot(p => old_results.contains(p._1)).toList
 
       for ((name, result) <- insert) {
         val node_info = result.node_info