src/Tools/adhoc_overloading.ML
changeset 52892 9ce4d52c9176
parent 52707 e2d08b9c9047
child 52893 aa2afbafd983
equal deleted inserted replaced
52891:b8dede3a4f1d 52892:9ce4d52c9176
    39       "Unresolved overloading of constant" ::
    39       "Unresolved overloading of constant" ::
    40       quote c ^ " :: " ^ quote (Syntax.string_of_typ ctxt' T) ::
    40       quote c ^ " :: " ^ quote (Syntax.string_of_typ ctxt' T) ::
    41       "in term " ::
    41       "in term " ::
    42       quote (Syntax.string_of_term ctxt' t) ::
    42       quote (Syntax.string_of_term ctxt' t) ::
    43       (if null instances then "no instances" else "multiple instances:") ::
    43       (if null instances then "no instances" else "multiple instances:") ::
    44     map (Syntax.string_of_term ctxt') instances)
    44     map (Markup.markup Markup.item o Syntax.string_of_term ctxt') instances)
    45     |> error
    45     |> error
    46   end;
    46   end;
    47 
    47 
    48 (* generic data *)
    48 (* generic data *)
    49 
    49