rbs icon indicating copy to clipboard operation
rbs copied to clipboard

Type Signature for Ruby

Results 271 rbs issues
Sort by recently updated
recently updated
newest added

(This was originally a discussion, #1610. I think it's more apt as an issue, so it's been moved here). One thing I really like about Ruby is the fact that...

(Originally posted as a discussion, #1609, I think this is better as an issue) While working on `Kernel#system`, I came across a limitation of RBS: it only lets you specify...

- updating kernel - more updates - more updates - q

I found three issues with the syntax documentation 1. _proc_ is inconsistent In the "Types" section, proc's grammar is laid out as ![image](https://github.com/ruby/rbs/assets/85617794/dc39dbb7-6bd7-4224-a59e-3e483bec9e9f) But in the "Method Types" section, proc's...

* rbs: 3.1.3 * ruby: 3.2.2 i'm finding an issue typing the following structure: ```ruby class A def initialize(a, b) @a = a @b = b end end class B...

bug

Typechecking for singletons (the pattern) doesn't seem to work as expected. E.g. given an `rb` file ``` # frozen_string_literal: true require "singleton" module A module Example class TestClass include Singleton...

Most of the execution time in `rbs prototype runtime` is taken up by `RBS::Prototype::Runtime#block_from_ast_of`. This means that a significant amount of cost is being spent just to investigate whether a...

The dynamic nature of defining Data classes with Data#define makes it difficult (if not impossible) to adequately describe scripts using RBS. If it indeed is impossible, perhaps we should consider...

Originally, this note was posted to #types channel in the ruby-jp slack from @soutaro.