src/Pure/Tools/invoke.ML
changeset 24680 0d355aa59e67
parent 24493 d4380e9b287b
child 24693 fe88913f3706
equal deleted inserted replaced
24679:5b168969ffe0 24680:0d355aa59e67
    98     |> Seq.hd
    98     |> Seq.hd
    99   end;
    99   end;
   100 
   100 
   101 fun infer_terms ctxt =
   101 fun infer_terms ctxt =
   102   Syntax.check_terms ctxt o
   102   Syntax.check_terms ctxt o
   103     (map (fn (t, T) => TypeInfer.constrain t (TypeInfer.paramify_vars T)));
   103     (map (fn (t, T) => TypeInfer.constrain (TypeInfer.paramify_vars T) t));
   104 
   104 
   105 in
   105 in
   106 
   106 
   107 fun invoke x =
   107 fun invoke x =
   108   gen_invoke Attrib.attribute Locale.read_expr ProofContext.read_termTs ProofContext.add_fixes x;
   108   gen_invoke Attrib.attribute Locale.read_expr ProofContext.read_termTs ProofContext.add_fixes x;