Merge pull request #54 from aeternity/fix-bad-spec

Fix incorrect type spec
This commit is contained in:
Hans Svensson 2019-06-19 13:26:54 +02:00 committed by GitHub
commit 7e96e3baef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,7 +49,7 @@ get_function_hash_from_calldata(CallData) ->
end. end.
-spec get_function_type_from_function_hash(binary(), aeb_fate_code:fcode()) -> -spec get_function_type_from_function_hash(binary(), aeb_fate_code:fcode()) ->
{ok, term()} | {error, term()}. {ok, term(), term()} | {error, term()}.
get_function_type_from_function_hash(<<SymbolHash:4/binary, _:28/binary>>, FateCode) -> get_function_type_from_function_hash(<<SymbolHash:4/binary, _:28/binary>>, FateCode) ->
get_function_type_from_function_hash(SymbolHash, FateCode); get_function_type_from_function_hash(SymbolHash, FateCode);
get_function_type_from_function_hash(SymbolHash, FateCode) -> get_function_type_from_function_hash(SymbolHash, FateCode) ->