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

Tags: mvidner/sorbet

Tags

0.4.4296.20190623195608-84ca94bb5

Toggle 0.4.4296.20190623195608-84ca94bb5's commit message
Feature/1001 avoid segfault on empty literal mergestring (sorbet#1012)

* test(ast/desugar): Add EmptyTree Desuger Test

* test: Add empty_string_concatenation test

* fix: check if expression is EmptyTree or not on mergeStrings

* fix(ast/desuger/Desuger): Use ""sv

* fix(ast/desuger/test): Remove redundant test

0.4.4295.20190622153852-4b94e303e

Toggle 0.4.4295.20190622153852-4b94e303e's commit message
Changes for sorbet#979 - Document Prereq's (sorbet#1007)

* Changes for sorbet#979

Changes for sorbet#979

* Move to FAQ and make it look better

0.4.4294.20190622132941-732613a72

Toggle 0.4.4294.20190622132941-732613a72's commit message
Fix Float#truncate signature. (sorbet#988)

It can get an (optional) Integer as an argument and return Integer or Float
depending on the arg value.

0.4.4293.20190622105958-fa6d0d66d

Toggle 0.4.4293.20190622105958-fa6d0d66d's commit message

0.4.4292.20190622105850-6ea61e722

Toggle 0.4.4292.20190622105850-6ea61e722's commit message
Add comment on concurrent queue choice. (sorbet#1008)

0.4.4289.20190621154844-91b825ede

Toggle 0.4.4289.20190621154844-91b825ede's commit message
Desugar multiple assignment such that it returns rhs (sorbet#984)

* Desugar multiple assignment such that it returns rhs

We were not being faithful to what Ruby does with our multiple
assignment desugar. We were returning the result of a call to our magic
expand splat method which is almost always not what actually happens at
runtime.

Here is the result of the attached test case before this commit:

```ruby

extend T::Sig

sig {returns(T.nilable(T::Array[Integer]))}
def foo
  nil
end

T.reveal_type((a, b = foo)) # Revealed type: T.any(T::Array[Integer], [NilClass, NilClass])
T.reveal_type((c, *, d = 100)) # Revealed type: [Integer(100), NilClass] (2-tuple)
```

* Insert into the front instead of reserving space and poking

* Add example from sorbet#981

* Add ast.exp file

* Add helpful comment

Co-Authored-By: Jake Zimmerman <zimmerman.jake@gmail.com>

0.4.4288.20190621153645-d7cfa3b15

Toggle 0.4.4288.20190621153645-d7cfa3b15's commit message
Docs: Clarify what should be comitted to source control (sorbet#943)

* Docs: Clarify what should be comitted to source control

* Remove incorrect mention of Makefile

* Add cross reference to reasoning

0.4.4287.20190621153600-f4cc0eb3c

Toggle 0.4.4287.20190621153600-f4cc0eb3c's commit message
Docs: Fix description of `typed: strong` (sorbet#942)

* Docs: Fix description of `typed: strong`

* Explain that typed: strong is rarely used

* Fix prettier

0.4.4286.20190621152253-63ce4413e

Toggle 0.4.4286.20190621152253-63ce4413e's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
suggest no-config (sorbet#994)

0.4.4285.20190621145825-f38cc0b34

Toggle 0.4.4285.20190621145825-f38cc0b34's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Make LSP Hover non-experimental (removes `--enable-experimental-lsp-h…

…over`) (sorbet#990)

Note: This is going to break those who passed --enable-experimental-lsp-hover before.

Hover works well enough to be enabled for everyone. If there is a bug, it is easy to add a new test case to Sorbet and iterate on a solution.

In real-world uses, hover does not appear to cause any issues with typechecking speed. In particular, VS Code cancels hover if you move your mouse away, so mousing over many things during a slow path won't interrupt edit batching.
0