Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix definition listener's sorbet early return condition (#2392)
* Fix definition listener's sorbet early return condition The condition missed the return so it's not working. The test still passed because the definition candidate was rejected by the check in `handle_method_definition` method instead. This commit fixes the condition and tweaks the test to make sure the listener is working as expected. * Update test/requests/definition_expectations_test.rb Co-authored-by: Andy Waite <[email protected]> --------- Co-authored-by: Andy Waite <[email protected]>
- Loading branch information