Tags: ewalk153/sorbet
Tags
Fix the linters job (sorbet#5489) * Don't set globalErr to $? * Trip a linter * Revert "Trip a linter" This reverts commit 6ed7089.
Allow renaming method to uppercase (sorbet#5487) * Remove guard on uppercase method name * Add test
Initialize the indexer without custom request dispatch behavior (sorb… …et#5484) * Add a pointer to the preprocessor task queue LSPTypecheckCoordinator * Checkpoint * Send initialized state from the typechecker back to the indexer * Add a TODO for cleaning up LSPTypechecker::initialize * Actually transfer ownership back to the indexer * Format * Handle deadlock in single-thread mode * Replace LSPIndexer::initialize * No need to send the kvstore back -- it's dropped during initialization * Pass the GlobalState in the IndexerInitializedTask constructor * Resume task queue processing in the InitializedTask run function * Rename IndexerInitializedTask to IndexerInitializationTask
Potentially delete some dead namer code (sorbet#5485) * This might be dead code * Yep, it's dead
Extract a TaskQueue class (sorbet#5477) * Extract a TaskQueue class from TaskQueueState * Fix test
Fixup compdb sed command (sorbet#5483)
File.binwrite accepts a String or Pathname (sorbet#5481) Fixes [this](https://sorbet.run/#%23%20typed%3A%20true%0A%0AFile.binwrite%28Pathname.new%28%22tmp%2Ftest.txt%22%29%2C%20%22hi%22%29). Proof: ```ruby 2.7.3 :001 > File.binwrite(Pathname.new("tmp/test.txt"), "hi") => 2 2.7.3 :002 > File.read "tmp/test.txt" => "hi" ```
[RFC] Do not error on `**kwargs` parameters name mismatch (sorbet#5142) * Do not error on `**kwargs` parameters name mismatch Signed-off-by: Alexandre Terrasa <alexandre.terrasa@shopify.com> * Apply suggestions from code review Co-authored-by: Jake Zimmerman <zimmerman.jake@gmail.com>
handle case when opt + splat has fewer args than arg types (sorbet#5475)
PreviousNext