Aaron Christiansen

Results 19 issues of Aaron Christiansen

It would be nice to have an option to remove `extend T::Sig` from classes and modules when saving them as RBS, since this is only required for Sorbet.

enhancement

Parlour 3.0 adds features which mean that methods without signatures are detected by the `TypeParser`. It would be good to add an option which reverts to the old behaviour of...

enhancement

**Is your feature request related to a problem? Please describe.** Brain Freeze currently generates RBIs for all methods, not just public ones. Fixing this would require Parlour being able to...

enhancement

**Is your feature request related to a problem? Please describe.** The message when a plugin throws an exception doesn't contain much information: ``` !!! This plugin threw an exception: {exception...

enhancement

It would be good to ensure that the signatures for `Namespace#create_x` methods are the same as the signatures for the corresponding `X#initialize` methods (besides the `generator` parameter), improving the internal...

enhancement

TypeParser is a complete mess of a file, and desperately needs a refactor to make it more manageable and more modular.

enhancement

@manhhung741 suggested this on the original Sord RFC for this project, and I think it's a good option to have. If this option is set, then generate this style: ```ruby...

#### Input [→ View on sorbet.run](https://sorbet.run/#%23%20typed%3A%20true%0Aclass%20A%20%3C%20T%3A%3AStruct%0A%20%20extend%20T%3A%3AHelpers%0A%0A%20%20prop%20%3Aa%2C%20Foo%0Aend%0A) ```ruby # typed: true class A < T::Struct extend T::Helpers prop :a, Foo end ``` #### Observed output ``` editor.rb:5: Unable to resolve constant...

enhancement

The `yes` command raises an exception on IRB versions or configuratinos (I tested the one bundled with Ruby 2.5) which do not include `IRB::Color`.