Repository navigation
StringIO: gets at EOF / limit 0 leaves lineno alone; fcntl message matches CRuby - #112
Conversation
…age matches CRuby Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01KPwZf6zTBynkVVtAVjXKpW
|
Warning Review limit reachedEnable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing. Next included review available in 4 minutes. View limit details
Autofix is active · Waiting for CI/review
|
|
Autofix reconciliation was requested. Last reported status: Checking. A completed task turn does not mean Autofix has repaired the current PR. Check current status in the Coding task. |
Conflicts: StringIO#gets keeps the PR's shared helper and takes #112's rule that gets(0) does not count a line; MiscTests keeps master's tests and the PR's two new ones. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01KPwZf7MsYwQdhLBCZCkH2C
Found by a differential test of StringIO against CRuby.
StringIO#getsat EOF returnednilbut still incrementedlineno. CRuby only counts lines that were actually read.gets(0)also returns""without counting a line in CRuby; IronRuby now matches both cases.StringIO#fcntlraisedNotImplementedErrorwith the .NET default message. It now uses CRuby's text,fcntl() function is unimplemented on this machine.Testing:
library/stringio: 682 examples, 0 failures.Encoding#inspectformatting.Generated by Claude Code