fix type signature

This commit is contained in:
Ulf Norell 2019-02-25 14:42:47 +01:00
parent dc4a2ca2f9
commit eb926b1352

View File

@ -508,7 +508,7 @@ init_env(Options) ->
end, global_env(), [{"oracle", 2}, {"oracle_query", 2}]) end, global_env(), [{"oracle", 2}, {"oracle_query", 2}])
end. end.
-spec infer(aeso_syntax:ast(), list(option())) -> aeso_syntax:ast(). -spec infer(aeso_syntax:ast(), list(option())) -> aeso_syntax:ast() | {env(), aeso_syntax:ast()}.
infer(Contracts, Options) -> infer(Contracts, Options) ->
ets_init(), %% Init the ETS table state ets_init(), %% Init the ETS table state
try try