Remove leftover io:format
This commit is contained in:
parent
5a3c8530b4
commit
a263b09e57
@ -304,7 +304,6 @@ get_decode_type(FunName, [{contract, _, _, Defs}]) ->
|
|||||||
GetType = fun({letfun, _, {id, _, Name}, _, Ret, _}) when Name == FunName -> [Ret];
|
GetType = fun({letfun, _, {id, _, Name}, _, Ret, _}) when Name == FunName -> [Ret];
|
||||||
({fun_decl, _, {id, _, Name}, {fun_t, _, _, _, Ret}}) when Name == FunName -> [Ret];
|
({fun_decl, _, {id, _, Name}, {fun_t, _, _, _, Ret}}) when Name == FunName -> [Ret];
|
||||||
(_) -> [] end,
|
(_) -> [] end,
|
||||||
io:format("~p\n", [Defs]),
|
|
||||||
case lists:flatmap(GetType, Defs) of
|
case lists:flatmap(GetType, Defs) of
|
||||||
[Type] -> {ok, Type};
|
[Type] -> {ok, Type};
|
||||||
[] -> {error, missing_function}
|
[] -> {error, missing_function}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user