Skip to content

Make write_to and write_to_memory adhere to their typespecs#121

Open
xpgdk wants to merge 1 commit intoxou:masterfrom
Qarma-inspect:master
Open

Make write_to and write_to_memory adhere to their typespecs#121
xpgdk wants to merge 1 commit intoxou:masterfrom
Qarma-inspect:master

Conversation

@xpgdk
Copy link

@xpgdk xpgdk commented Mar 16, 2022

The typespecs state that {:ok, String.t()} is returned on success, but :zip.create will return {:ok, [char()]}.

The typespecs state that {:ok, String.t()} is returned, but
:zip.create will return {:ok,  [char()]}.
@xou
Copy link
Owner

xou commented Mar 30, 2022

Thank you very much for this PR. Would it make sense to fix the typespec instead, so that users of the API are not broken by the next release?

@xpgdk
Copy link
Author

xpgdk commented Apr 6, 2022

@xou good point. I'll try to change the typespec instead and make a new PR

@xou xou force-pushed the master branch 3 times, most recently from e7bdfd0 to 68acd8d Compare January 28, 2024 16:00
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