Takeshi KOMIYA
Takeshi KOMIYA
refs: #939
Add a new diagnostic type; NoMethodByNil, that is emitted to no method calls for the objects having optional types. It's separated from NoMethod to control the visiblity of these diagnostics...
**Describe the bug** sord generates untyped definitions for constants even if `--exclude-untyped` option given. **To Reproduce** This is a minimal reproducible example. ``` # app/app.rb class Foo CONST = 1...
misspellings commands does not return exit code if any misspellings found. If it returns exit code, CI server can notifiy misspellings easily. So, could you return exit code? Thank you...
### Problem - Sphinx could not detect duplicated labels with `-j N` option #### Procedure to reproduce the problem Here is my Dockerfile. ``` FROM tk0miya/sphinx-html RUN sphinx-quickstart -q -p...
The method name was incorrect. `#with_nonreturn_void` should be renamed to `#with_nonreturn_void?`. refs: #1905
I got NoMethodError from the following RBS file when I run `rbs validate`: ``` class Object def foo: () { (?) -> untyped } -> nil end ``` ``` $...
The headers keyword option of `CSV.foreach` can take String, Symbol and Array too. Therefore, this adds them to the type definition. refs: * https://docs.ruby-lang.org/en/3.3/CSV.html#method-c-foreach * https://docs.ruby-lang.org/en/3.3/CSV.html#class-CSV-label-Options+for+Parsing Note: In https://github.com/ruby/rbs/pull/1738/files#r1468802569, @m11o...
refs: * https://rubydoc.info/gems/json/JSON.load_file * https://github.com/ruby/ruby/blob/master/ext/json/lib/json/common.rb#L242-L262 * https://github.com/ruby/ruby/pull/3581 * https://github.com/flori/json/blob/v2.7.2/lib/json/common.rb#L242-L262 * https://github.com/flori/json/pull/387