rbs
rbs copied to clipboard
Type Signature for Ruby
In the three methods I've modified the return type is always an instance of the class the method is called on, however they were hardcoded to a specific class. I...
These methods work fine with headers given as `Hash[Symbol, untyped]`. I noticed when I got some squiggly lines in some of my methods that I already know work. I also...
Quite a few things in the standard library (and a few of my personal projects) `undef`ine methods from parent classes (for example, `Class` inherits from `Module` but `undef`s `refine` and...
Currently `--silent` option just displays ``"`--silent` option is deprecated." ``. The user cannot decide what they should do from this message. So I updated the message to describe that the...
I'm adding gem_rbs_collection to this library integrating with datadog. All is well, until I run `steep check`, and I get error messages coming from datadog's signatures: ``` # example ../../.gem/ruby/3.2.2/gems/datadog-ci-0.6.0/sig/datadog/ci/contrib/rspec/example.rbs:8:12:...
I have found a case where test fails to call `super` in a block during RBS::Test execution. Repro: ```rb #! /usr/bin/env ruby class Super def call 'super' end end class...
Currently, the usage of `singleton` seems to be limited to the following usages: ```ruby # foo accepts the FooClass as argument, or any subclass of it # rb: foo(FooClass) def...
Similar issue to #478 . Example: ```ruby # test-attach.rb class TestAttach def attach puts "attach 2" end module RegisterAttach def attach puts "attach 1" super end end prepend RegisterAttach end...
May be specific to CRuby; may be a bug. ```ruby class MyProc < Proc def self.new = super { :new } def initialize = super { :initialize } new.() #=>...
Currently, `*untyped` and `**untyped` can be used to accept any amount of any type of positional and keyword arguments. However, there's no way to accept a block of any type:...