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

The function call will not succeed since the 1st arguments differ from the success typing arguments #29

Open
sksar opened this issue Jan 2, 2025 · 0 comments

Comments

@sksar
Copy link

sksar commented Jan 2, 2025

When I write this code:
{:ok, db} = Duckdbex.open("ticker.db")

the Elixir Dialyzer gives me this error:

The function call will not succeed.
Duckdbex.open(<<116, 105, 99, 107, 101, 114, 46, 100, 98>>)
will never return since the 1st arguments differ
from the success typing arguments

Although the code works, I can't figure out why it causes an issue for dialyzer to report as an error.

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

No branches or pull requests

1 participant