You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> mix dialyzer
...
((module calling generate_presigned_post)):no_return
The created anonymous function has no local return.
________________________________________________________________________________
lib/server/s3.ex:10:no_return
Function generate_presigned_post/1 has no local return.
________________________________________________________________________________
done (warnings were emitted)
Halting VM with exit status 2
Expected behavior
dialyzer should succeed
when i remove the call to ExAws.S3.presigned_post dialyzer succeeds; it is the bottom function call in my project
this may be due to a bad @spec somewhere, i've recently fixed this issue by updating a @spec
i am fixing this temporarily in my project by configuring dialyzer to ignore generate_presigned_post
thank you for your consideration :)
The text was updated successfully, but these errors were encountered:
I had same issue with this function, stream_file. mix dialyzer would fail since the func is calling File.stream! under the hood, but S3.Upload.stream_file is not ending with ! mark.
the issue is fixed by this PR.
I fixed it by upgrading ex_aws_s3 from 2.3 to 2.5.3.
Environment
mix deps |grep ex_aws
mix deps | grep hackney
Current behavior
code sample:
errors and stacktraces
Expected behavior
dialyzer should succeed
when i remove the call to
ExAws.S3.presigned_post
dialyzer succeeds; it is the bottom function call in my projectthis may be due to a bad
@spec
somewhere, i've recently fixed this issue by updating a@spec
i am fixing this temporarily in my project by configuring dialyzer to ignore
generate_presigned_post
thank you for your consideration :)
The text was updated successfully, but these errors were encountered: