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

Dialyzer #241

Merged
merged 4 commits into from
Jan 11, 2024
Merged

Dialyzer #241

merged 4 commits into from
Jan 11, 2024

Conversation

bernardd
Copy link
Contributor

Tweaks for #239

nathany-copia and others added 4 commits December 28, 2023 12:46
The following Dialyzer errors show up in Elixir 1.16, which then result in “has no local return” Dialyzer errors in clients of this library. This PR resolves them in a backwards compatible way.

```
lib/ex_aws/s3/upload.ex:70: Function stream_file/1 has no local return
lib/ex_aws/s3/upload.ex:70: Function stream_file/2 has no local return
lib/ex_aws/s3/upload.ex:71: The call 'Elixir.File':'stream!'(_path@1::any(),[],any()) breaks the contract ('Elixir.Path':t(),'line' | pos_integer(),[stream_mode()]) -> 'Elixir.File.Stream':t()
```

ref: elixir-lang/elixir#13212
@bernardd
Copy link
Contributor Author

Replaces #239

@bernardd bernardd merged commit fa15ed8 into main Jan 11, 2024
28 checks passed
@bernardd bernardd deleted the dialyzer branch January 11, 2024 04:54
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