8000 Tags · umbreak/sorbet · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Tags: umbreak/sorbet

Tags

0.5.9825.20220331152924-da662f8a5

Toggle 0.5.9825.20220331152924-da662f8a5's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Non-mutating version of `resolveConstants` (sorbet#5532)

* Move computeLinearization to GlobalState

* pre-work: Use lambda for better clang-format

* computeLinearization in GlobalState::initEmpty

This should be safe--if we ever call addMixin after this, we will reset
the linearization status on that class.

This allows us to call `verifyLinearizationComputed` in
`runIncrementalBestEffort` (because our test suite tests an edge case
where we run `runIncrementalBestEffort` with `--no-stdlib` so Resolver
truly has never been run before).

* Non-mutating version of `resolveConstants`

Mostly uses the technique that froydnj established in sorbet#5456.

* Rest of the failures

* Also run infer

0.5.9824.20220331124442-df7457ad4

Toggle 0.5.9824.20220331124442-df7457ad4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Add T::Enumerator::Lazy (requires static and runtime bump!) (sorbet#5552

)

Fixes sorbet#3028

0.5.9823.20220331114230-2ecb49c05

Toggle 0.5.9823.20220331114230-2ecb49c05's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Drop procs.rbi file back to true (sorbet#5554)

0.5.9822.20220331101219-2546559b9

Toggle 0.5.9822.20220331101219-2546559b9's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Change the printing in procs.rbi (sorbet#5525)

* Change the printing in procs.rbi

Just happened to look at it, and got nerd snipped by the formatting.

* update test

0.5.9821.20220331101145-f0c00b5b9

Toggle 0.5.9821.20220331101145-f0c00b5b9's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Use callLocs in fewer error messages (sorbet#5551)

* Add argsLoc helper, add an `initialize` autocorrect

* Autocorrect to delete block if unneeded

* Use funLoc for more errors

This is important because otherwise if there happens to be a block,
Sorbet will chunder a huge red line over the whole method call including
the block arg if present, which sometimes just makes half the file turn
red.

* Use argLocs for "Not enough arguments"

* Change error location for `T.must`

* Change location for missing required kwarg

* Change location for required block error

* Change error message for type parameter arity

0.5.9820.20220331101055-bd1905b96

Toggle 0.5.9820.20220331101055-bd1905b96's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Insert `extend T::Sig` when missing (sorbet#5546)

Fixes sorbet#5242

0.5.9819.20220331093845-270767d57

Toggle 0.5.9819.20220331093845-270767d57's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Revert "Defer sorting resolver todo lists until it matters (sorbet#5527…

…)" (sorbet#5553)

This reverts commit 87fe72d.

0.5.9818.20220330185950-d88607c32

Toggle 0.5.9818.20220330185950-d88607c32's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Improve "Too many arguments" error message (sorbet#5544)

* pre-work: Test autocorrects in test/cli/arity-messages

* Improve "Too many arguments" error message

- Shows the red squiggle on the extra args, not the whole method call
  (and definitely not on any block that is present).

- Adds an autocorrect that can be run to delete the extra args (useful
  for things like codemods that remove args from methods).

* wip even better

* Add another test

* Fix existing tests

* whoops, left a TODO in

* Add another test

* Prefix tests with `autocorrect_`

0.5.9817.20220330224511-017431d5d

Toggle 0.5.9817.20220330224511-017431d5d's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Bump VSCode extension (sorbet#5542)

0.3.12 -> 0.3.13

0.5.9816.20220330122708-455cdf937

Toggle 0.5.9816.20220330122708-455cdf937's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
make `TypePtr` parameter passing more idiomatic in `TypeErrorDiagnost…

…ics` (sorbet#5540)
0