]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/grafite/grafiteMarshal.ml
generalized is half-implemented (still broken)
[helm.git] / helm / software / components / grafite / grafiteMarshal.ml
index 056b1225d1c2c14cf3de6343fab6472f7598f875..48525aed5bf2406b307b970c52d67356f70911cb 100644 (file)
@@ -44,8 +44,10 @@ let rehash_cmd_uris =
   | GrafiteAst.Default (loc, name, uris) ->
       let uris = List.map rehash_uri uris in
       GrafiteAst.Default (loc, name, uris)
-  | GrafiteAst.Coercion (loc, uri, close, arity) ->
-      GrafiteAst.Coercion (loc, rehash_uri uri, close, arity)
+  | GrafiteAst.PreferCoercion (loc, uri) ->
+      GrafiteAst.PreferCoercion (loc, CicUtil.rehash_term uri)
+  | GrafiteAst.Coercion (loc, uri, close, arity, saturations) ->
+      GrafiteAst.Coercion (loc, CicUtil.rehash_term uri, close, arity, saturations)
   | GrafiteAst.Index (loc, key, uri) ->
       GrafiteAst.Index (loc, HExtlib.map_option CicUtil.rehash_term key, rehash_uri uri)
   | cmd ->