Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix dialyzer error #124

Merged
merged 1 commit into from
Feb 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading