Project

General

Profile

« Previous | Next » 

Revision c5cf4d4e

Added by Samuel Williams almost 2 years ago

Improve behavioural consistency of unallocated (zero length) IO::Buffer. (#9532)

This makes the behaviour of IO::Buffer.new(0) and IO::Buffer.new.slice(0, 0) consistent.

Fixes https://bugs.ruby-lang.org/issues/19542 and https://bugs.ruby-lang.org/issues/18805.