]> matita.cs.unibo.it Git - helm.git/commitdiff
Serious bug fixed: uris were not refreshed when loading coercions.
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Fri, 31 Jul 2009 09:39:28 +0000 (09:39 +0000)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Fri, 31 Jul 2009 09:39:28 +0000 (09:39 +0000)
helm/software/components/grafite_engine/grafiteEngine.ml

index 5c418ac9d22eb54e1d14134d888f3e9c2f0abe02..c82fb457a2c4727bc8cf816729e53db9b4726e20 100644 (file)
@@ -658,8 +658,13 @@ let basic_eval_ncoercion (name,t,s,d,p,a) status =
 ;;
 
 let inject_ncoercion =
- let basic_eval_ncoercion x ~refresh_uri_in_universe ~refresh_uri_in_term =
-  basic_eval_ncoercion x
+ let basic_eval_ncoercion (name,t,s,d,p,a) ~refresh_uri_in_universe
+  ~refresh_uri_in_term
+ =
+  let t = refresh_uri_in_term t in
+  let s = refresh_uri_in_term s in
+  let d = refresh_uri_in_term d in
+   basic_eval_ncoercion (name,t,s,d,p,a)
  in
   NRstatus.Serializer.register "ncoercion" basic_eval_ncoercion
 ;;