Skip to content

stringio should be a stdlib, but it's in core/ #1549

@pocke

Description

@pocke

In Ruby, stringio is a stdlib.
https://github.com/ruby/ruby/tree/50520cc1930331bccdb94730e17ddc01798f2be0/ext/stringio

But currently, RBS has string_io as a core library unexpectedly.
https://github.com/ruby/rbs/blob/abcc97d3c8b024856ba9603a7ef22d422652ff42/core/string_io.rbs

So we should do the two things:

  • Move string_io.rbs from core/ to stdlib/.
  • Rename it to stringio.rbs
    • because the library name is stringio.

BTW, this will introduce a breaking change. We should do it carefully. For example, we can provide a migration process.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions