Skip to content

Fix spec of File.copy/3#15539

Merged
sabiwara merged 1 commit into
elixir-lang:mainfrom
pnezis:file-cp-spec
Jul 3, 2026
Merged

Fix spec of File.copy/3#15539
sabiwara merged 1 commit into
elixir-lang:mainfrom
pnezis:file-cp-spec

Conversation

@pnezis

@pnezis pnezis commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

0 is also accepted by :file.copy

@sabiwara

sabiwara commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Good catch!
I think we should also fix copy!/3.

@pnezis

pnezis commented Jul 3, 2026

Copy link
Copy Markdown
Contributor Author

my bad, fixed

@pnezis pnezis changed the title Fix spec of File.cp/3 Fix spec of File.copy/3 Jul 3, 2026

@sabiwara sabiwara left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! 💜

@sabiwara sabiwara merged commit 56e4e28 into elixir-lang:main Jul 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants