Skip to content

Commit

Permalink
Merge pull request #124 from mikpe/fix-dialyzer-error
Browse files Browse the repository at this point in the history
fix dialyzer error
  • Loading branch information
mikpe authored Feb 29, 2024
2 parents dd9ec06 + 058458e commit cac7ffe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/avro_schema_store.erl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cac7ffe

Please sign in to comment.