]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/cic_notation/cicNotationMatcher.ml
snapshot
[helm.git] / helm / ocaml / cic_notation / cicNotationMatcher.ml
index 1c1532548589c22faee9f03d5a83d0c161cce4ee..204e945fc0c8b700388b30502709afcee1b8631b 100644 (file)
@@ -201,7 +201,7 @@ struct
       Pt.Variable (Pt.TermVar name)
     in
     let rec aux = function
-      | Pt.AttributedTerm (_, t) -> aux t
+      | Pt.AttributedTerm (_, t) -> assert false
       | Pt.Literal _
       | Pt.Layout _ -> assert false
       | Pt.Variable v -> Pt.Variable v
@@ -330,7 +330,7 @@ struct
       Hashtbl.hash mask, tl
 
     let mask_of_appl_pattern = function
-      | Pt.UriPattern s -> Uri (UriManager.uri_of_string s), []
+      | Pt.UriPattern uri -> Uri uri, []
       | Pt.VarPattern _ -> Blob, []
       | Pt.ApplPattern pl -> Appl (List.map (fun _ -> Blob) pl), pl