Adjusting a few calls.

This commit is contained in:
2026-02-12 17:44:56 +09:00
parent 3838a7e3c5
commit 6c172c4783
3 changed files with 41 additions and 17 deletions
+7 -1
View File
@@ -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}.