Skip to content

Fix writing to an IO with no external_encoding#2753

Merged
flavorjones merged 1 commit intosparklemotion:mainfrom
larskanis:fix-2752
Jan 4, 2023
Merged

Fix writing to an IO with no external_encoding#2753
flavorjones merged 1 commit intosparklemotion:mainfrom
larskanis:fix-2752

Conversation

@larskanis
Copy link
Copy Markdown
Member

A file-IO has no external_encoding by default, so that rb_to_encoding() fails with a TypeError.

This regression was introduces in commit 2e260f5.

Fixes #2752

A file-IO has no external_encoding by default, so that rb_to_encoding() fails with a TypeError.

This regression was introduces in commit 2e260f5.

Fixes sparklemotion#2752

Co-authored-by: Mike Dalessio <mike.dalessio@gmail.com>
@flavorjones flavorjones merged commit b57c926 into sparklemotion:main Jan 4, 2023
@flavorjones
Copy link
Copy Markdown
Member

Thank you!

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.

[bug] native_write_to: no implicit conversion of nil into String

2 participants