Yuki Kurihara

Results 66 issues of Yuki Kurihara

`IO::TimeoutError` was added in ruby 3.2. https://bugs.ruby-lang.org/issues/18630

I added several signatures for methods in `Set`. All method tests are testing by raap. * Aliases * `#=` * ruby 2.0 * https://github.com/ruby/ruby/commit/aa7dc0f305c11c2ef9e67f6d48acbd1264022024 * `#filter!` * ruby 2.6 *...

`Enumerator::Lazy#eager` was added in ruby v2.7. https://bugs.ruby-lang.org/issues/15901

`Enumerator#+` was added in ruby v2.6. https://bugs.ruby-lang.org/issues/15144

# Prepare The target file is https://github.com/ruby/gem_rbs_collection/blob/main/gems/activerecord/8.0/activerecord-generated.rbs ```rb $ cat parse.rb require 'rbs' require 'benchmark/ips' sig = Pathname('../gem_rbs_collection/gems/activerecord/8.0/activerecord-generated.rbs').read Benchmark.ips do |x| x.report("rbs v#{RBS::VERSION} parse activerecord-generated.rbs") do RBS::Parser.parse_signature(sig) end end ```...

Contextual limitations are now performed at parse time. This change was originally planned for version 3.4 but remained unaddressed. > We plan to change the parser to reject those types...

I have fixed the problem regarding visibility of special methods. # Background Special methods are default **private** instance methods in ruby. - `#initialize` - `#initialize_copy` - `#initialize_dup` - `#initialize_clone` -...

First step of https://github.com/ruby/rbs/issues/2361 I defined `RBS::Unnamed::TopLevelSelfClass`. By itself, this doesn't change anything, but if type checkers implement this class as the class of the top-level object, it will make...

Fix https://github.com/ruby/rbs/issues/2293 ### Before ```rbs module M module N end # 2. Found the `::M::N2` and search the the `N`(`entry.decl.old_name`). # 3. The `::N` is nothing. module N2 = N...

RBS & Steep does not handle the main object well. ```rb # sample.rb using Foo ``` ``` sample.rb:1:0: [error] Type `::Object` does not have method `using` │ Diagnostic ID: Ruby::NoMethod...