src/Pure/Thy/thm_deps.ML
changeset 20664 ffbc5a57191a
parent 20578 f26c8408a675
child 20854 f9cf9e62d11c
--- a/src/Pure/Thy/thm_deps.ML	Thu Sep 21 19:04:12 2006 +0200
+++ b/src/Pure/Thy/thm_deps.ML	Thu Sep 21 19:04:20 2006 +0200
@@ -54,7 +54,7 @@
                     | NONE => [])
                  | _ => ["global"]);
             in
-              if name mem parents' then (gra', parents union parents')
+              if member (op =) parents' name then (gra', parents union parents')
               else (Symtab.update (name,
                 {name = Sign.base_name name, ID = name,
                  dir = space_implode "/" (session @ prefx),