handle :named attribute in smtlib

This commit is contained in:
Simon Cruanes 2020-08-18 10:01:36 -04:00
parent c5180f3f63
commit 7d399ba201

View file

@ -287,6 +287,7 @@ let rec conv_term (ctx:Ctx.t) (t:PA.term) : T.t =
ill_typed ctx "term `%a`@ should have type `%a`" T.pp t Ty.pp ty_expect
);
t
| PA.Attr (t, [":named",_]) -> conv_term ctx t
| _ ->
errorf_ctx ctx "unsupported term %a" PA.pp_term t