Set intf to None

deprecated modules don't really have interfaces

Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
This commit is contained in:
Rudi Grinberg 2018-08-31 13:11:16 +03:00
parent 161ca64030
commit ba1b3f8d24
1 changed files with 2 additions and 1 deletions

View File

@ -166,7 +166,8 @@ let to_sexp { name; impl; intf; obj_name ; pp } =
let deprecate t =
{ t with
impl =
intf = None
; impl =
Some (
let path =
match t.intf, t.impl with