Yuki Kurihara
Yuki Kurihara
I'm developing a tool using RBS. And I'm trying to load RBS files using `RBS::MethodType#location` and display them with colors. During development, a problem occurred where the display is off...
Add a pattern to `Array#cycle` that returns an Enumerator that loops infinitely, as it is missing. Whether it loops infinitely or not depends on the receiver and cannot be isolated...
Since the implementation of Set is Hash, the key must have a `hash` method. ``` $ ruby -e 'Set.new([BasicObject.new])' /Users/ksss/.rbenv/versions/3.3.0/lib/ruby/3.3.0/set.rb:509:in `add': undefined method `hash' for an instance of BasicObject (NoMethodError)...
- Should be return bot for methods of abstruct class. Use interface instead. - The number of arguments of Digest::Class methods cannot be determined because they are delegated to the...
Method visibility is public by default. `public` is always redundant because the order in which methods appear is always guaranteed at `rbs prototype runtime`.
This PR is a retry of https://github.com/ruby/rbs/pull/1779 . I have stopped returning `bot`. Then I changed testing method to raap. The Digest classes require a lot of changes when modifying...
Currently `sleep(2 ** 2)` results in a type error since `2 ** 2` returns `Numeric` type. Because of these problems, it does not seem very convenient to set the return...
I propose to introduce [rubocop-on-rbs](https://github.com/ksss/rubocop-on-rbs). This is a lint tool for RBS file. This tool automates trivial indentation and style remarks during review. # Examples of remarks from RuboCop #...
Argument of `Enumerator#initialize` allows `nil`, `#call` and `#to_int` object. Included `Float::INFINITY` in `#to_int`. https://github.com/ruby/ruby/blob/ac9e84df3d0b06e62498aafbca99e8f8475ec142/enumerator.c#L437-L451
The following code causes steep to raise an UnexpectedError. ```rb ::Data.define(:foo) do def self.bar end end ``` steep check log ``` # Type checking files: ........................................................................................................................................................................................................................................................[Steep 1.8.0.dev.1] [typecheck:typecheck@11] [background] [#typecheck_source(path=sample.rb)]...