Adjusting a few calls.
This commit is contained in:
+7
-1
@@ -8,6 +8,12 @@
|
||||
|
||||
-include_lib("eunit/include/eunit.hrl").
|
||||
|
||||
|
||||
-spec parse_literal(String) -> Result
|
||||
when String :: string(),
|
||||
Result :: {ok, gmb_fate_data:fate_type()}
|
||||
| {error, Reason :: term()}.
|
||||
|
||||
parse_literal(String) ->
|
||||
parse_literal(unknown_type(), String).
|
||||
|
||||
@@ -821,7 +827,7 @@ compile_entrypoint_value_and_type(Source, Entrypoint) ->
|
||||
FATE = extract_return_value(Code),
|
||||
|
||||
% Generate the AACI, and get the AACI type info for the correct entrypoint.
|
||||
AACI = hz_aaci:prepare_aaci(ACI),
|
||||
AACI = hz_aaci:prepare(ACI),
|
||||
{ok, {_, Type}} = hz_aaci:get_function_signature(AACI, "f"),
|
||||
|
||||
{FATE, Type}.
|
||||
|
||||
Reference in New Issue
Block a user