Ufuk Kayserilioglu

Results 21 issues of Ufuk Kayserilioglu

Each test suite should be able to specify its own `script` and `data_path` if the provisioner in use is the Shell provisioner.

Improvement
Provisioner: Shell

#### Input [→ View on sorbet.run](https://sorbet.run/#%23%20typed%3A%20true%0AClass.new%20do%0A%20%20def%20match%3F(request)%0A%20%20%20%2042%0A%20%20end%0Aend%0A%0A%0Afoo%20%3D%20T.let(nil%2C%20T.nilable(String))%0Afoo.match%3F(%22bar%22)) ```ruby # typed: true Class.new do def match?(request) 42 end end foo = T.let(nil, T.nilable(String)) foo.match?("bar") ``` #### Observed output ``` editor.rb:10: Non-private call...

bug

#### Input [→ View on sorbet.run](https://sorbet.run/#%23%20typed%3A%20true%0A%0Aclass%20A%3B%20end%0Aclass%20B%3B%20end%0Aclass%20C%3B%20end%0A%0Afoo%20%3D%20T.let(%0A%20%20T.unsafe(nil)%2C%20%0A%20%20T.any(T.class_of(A)%2C%20T.class_of(B)%2C%20T.class_of(C))%0A)%0A%0Aif%20foo%20%3D%3D%20B%0A%20%20T.reveal_type(foo)%20%23%20this%20is%20fine%0Aelse%0A%20%20T.reveal_type(foo)%20%23%20why%20does%20this%20still%20have%20%60T.class_of(B)%60%20in%20it%3F%0Aend) ```ruby # typed: true class A; end class B; end class C; end foo = T.let( T.unsafe(nil), T.any(T.class_of(A), T.class_of(B), T.class_of(C)) ) if foo ==...

bug

So far, Gel has been using only the nearest value defined in a Gemfile for `group`, `platforms` and `install_if` options, disregarding any values supplied in surrounding contexts. However, Bundler actually...

### Motivation [@ryanwilsonperkin caught a problem with the RBI output in Active Record relations generator](https://github.com/Shopify/tapioca/pull/236#discussion_r724279237), which reminded me that we should be checking RBI files for well-formedness automatically in every...

enhancement

### Motivation We used to treat methods that didn't have a source location the same as methods that explicitly were not defined in the current gem. That resulted in Tapioca...

enhancement

One of the main stumbling blocks for people getting started with Tapioca is around the `require.rb` file. There are a few things we can do to improve the brittleness around...

enhancement

Tapioca just assumes that the current project is a Rails application and tries to eager load it based on that assumption. However, our DSL generators could work in any codebase,...

enhancement

It turns out that Rails Engines have their own router and the controllers, etc inside a Rails Engine get an engine specific `url_helper` module included, not the `Rails.application` one. In...

enhancement
help-wanted

### Motivation The current semantic highlighting was not handling `class Foo < Bar` or `module Baz` constructs and skipping them in semantic highlighting. This PR makes them semantic `class` tokens...