From 087ec3169894a3acac547106f05744f07f7e91d8 Mon Sep 17 00:00:00 2001 From: Ulf Norell Date: Tue, 13 Aug 2019 13:17:41 +0200 Subject: [PATCH] Fix bad type spec --- src/aeb_fate_maps.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aeb_fate_maps.erl b/src/aeb_fate_maps.erl index 8aceaae..ed9e86a 100644 --- a/src/aeb_fate_maps.erl +++ b/src/aeb_fate_maps.erl @@ -159,7 +159,7 @@ has_store_maps(Val) -> -spec refcount(fate_value()) -> refcount(). refcount(Val) -> refcount(Val, #{}). --spec refcount(refcount(), fate_value()) -> refcount(). +-spec refcount(fate_value(), refcount()) -> refcount(). refcount(?FATE_MAP_TOMBSTONE, Count) -> Count; refcount(?FATE_TRUE, Count) -> Count; refcount(?FATE_FALSE, Count) -> Count;