You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In riak_core_bucket, the type spec uses the old comment format and doesn't run. Additionally it doesn't reflect the actual behavior. In particular, the ok case doesn't return a tuple it just returns the Bucket Props. Also, the type definition for riak_core_bucket_props is out of date.
which exits with a blank/unhelpful error when we run make dialyzer and we need to figure out what's actually going here.
The text was updated successfully, but these errors were encountered:
Basho-JIRA
changed the title
Type specs are wrong but don't run due to deprecated format
Type specs are wrong but don't run due to deprecated format [JIRA: RIAK-2811]
Oct 10, 2016
@jvoegele and I found this while looking into the crash reported against riak_kv.
In riak_core_bucket, the type spec uses the old comment format and doesn't run. Additionally it doesn't reflect the actual behavior. In particular, the ok case doesn't return a tuple it just returns the Bucket Props. Also, the type definition for riak_core_bucket_props is out of date.
It should be something like:
which exits with a blank/unhelpful error when we run
make dialyzer
and we need to figure out what's actually going here.The text was updated successfully, but these errors were encountered: