diff --git a/changelog.md b/changelog.md index b6a6e66..8909067 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,5 @@ +* 2.10.1 + - Fix dialyzer error. * 2.10.0 - Add map as avro store, and use it as default. - Changed to store type aliases as type's full name index, so the type store map (or dict) is less bloated. diff --git a/src/avro_schema_store.erl b/src/avro_schema_store.erl index 355b0cf..cc24639 100644 --- a/src/avro_schema_store.erl +++ b/src/avro_schema_store.erl @@ -262,7 +262,7 @@ add_aliases([Alias | More], FullName, Store) -> add_aliases(More, FullName, NewStore). %% @private --spec add_type_by_name([fullname()], avro_type(), store()) -> +-spec add_type_by_name(fullname(), avro_type(), store()) -> store() | no_return(). add_type_by_name(Name, Type, Store) -> case get_type_from_store(Name, Store) of