From d571993405c67ff9d3dacb82d663d69a56d33219 Mon Sep 17 00:00:00 2001 From: Thomas Arts Date: Wed, 19 Jun 2019 12:38:55 +0200 Subject: [PATCH] Fix type spec --- rebar.config | 2 +- rebar.lock | 2 +- src/aeso_compiler.erl | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/rebar.config b/rebar.config index 29eeeac..569502c 100644 --- a/rebar.config +++ b/rebar.config @@ -2,7 +2,7 @@ {erl_opts, [debug_info]}. -{deps, [ {aebytecode, {git, "https://github.com/aeternity/aebytecode.git", {ref,"9dfc5f4"}}} +{deps, [ {aebytecode, {git, "https://github.com/aeternity/aebytecode.git", {ref,"f91c8fa"}}} , {getopt, "1.0.1"} , {jsx, {git, "https://github.com/talentdeficit/jsx.git", {tag, "2.8.0"}}} diff --git a/rebar.lock b/rebar.lock index 9096a27..0cddda9 100644 --- a/rebar.lock +++ b/rebar.lock @@ -1,7 +1,7 @@ {"1.1.0", [{<<"aebytecode">>, {git,"https://github.com/aeternity/aebytecode.git", - {ref,"9dfc5f4f1d1a9676cb6b9577af74a4566cc3f3f4"}}, + {ref,"f91c8fabdd01cf911fb194862a50f9635c96c0e5"}}, 0}, {<<"aeserialization">>, {git,"https://github.com/aeternity/aeserialization.git", diff --git a/src/aeso_compiler.erl b/src/aeso_compiler.erl index 1cb91eb..c52b81a 100644 --- a/src/aeso_compiler.erl +++ b/src/aeso_compiler.erl @@ -329,8 +329,7 @@ create_calldata(Code, Fun, Args) -> create_calldata(Code, Fun, Args, [{backend, aevm}]). -spec create_calldata(string(), string(), [string()], [{atom(), any()}]) -> - {ok, binary(), aeb_aevm_data:type(), aeb_aevm_data:type()} - | {ok, binary()} + {ok, binary()} | {error, term()}. create_calldata(Code, Fun, Args, Options) -> case proplists:get_value(backend, Options, aevm) of