Skip to content

Fix dialyzer underspecs warnings across all modules#3

Merged
jonathan-kosgei merged 1 commit intomainfrom
claude/verify-all-tests-YVXdw
Feb 23, 2026
Merged

Fix dialyzer underspecs warnings across all modules#3
jonathan-kosgei merged 1 commit intomainfrom
claude/verify-all-tests-YVXdw

Conversation

@jonathan-kosgei
Copy link
Copy Markdown
Contributor

Tighten type specs to match dialyzer's success typings:

  • ipdata.erl: define lookup_error/bulk_error types, use precise map key type #{atom() | binary() => term()}, and exact binary size for build_url/4
  • ipdata_http.erl: use [ssl:tls_client_option()] for ssl_options/0
  • ipdata_sup.erl: narrow init/1 to accept [] and return empty child list

https://claude.ai/code/session_01RBbLduNgvjWctN2Dj12UDY

Tighten type specs to match dialyzer's success typings:
- ipdata.erl: define lookup_error/bulk_error types, use precise
  map key type #{atom() | binary() => term()}, and exact binary
  size for build_url/4
- ipdata_http.erl: use [ssl:tls_client_option()] for ssl_options/0
- ipdata_sup.erl: narrow init/1 to accept [] and return empty child list

https://claude.ai/code/session_01RBbLduNgvjWctN2Dj12UDY
@jonathan-kosgei jonathan-kosgei merged commit 9f5be21 into main Feb 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants