Tags: FabioSaito/sorbet
Tags
Collapse duplicated error code 3506 (sorbet#5652) * Add test * Collapse duplicated error code 3506 It looks like were reusing an error code. I considered making these into two separate error codes, but we're actually using `--suppress-error-code=3506` inside Sorbet, so I figured that splitting it into two error codes could potentially break something and I didn't want to have to deal with that on the off chance it happens. Luckily the two error codes were basically doing the same thing (`T::Enum` rewriter syntax) so I figured I'd just use the same ErrorClass for both.
Recover from positional arg between keyword args (sorbet#5648) * Remove an old TODO * Add failing test * Make failing test parse * Fix off-by-one error in loc for resolver error
store IDs in a single table for compiled modules (sorbet#5646)
--stripe-packages: Hide PackageSpecs from top-level namespace (sorbet… …#5644) * Create test st //test:test_{Packager,Pos}Tests/testdata/packager/namespace st is aliased to `bazel test --config=dbg --test_output=errors' * Add ::<PackageSpaceRegistry> prefixing * update expectation * tools/scripts/update_testdata_exp.sh * Sybols::PackageSpecRegistry() * Fix restrict_to_service * cleanup pretty printing * import fix * update simple_package flatten-tree * fix test/testdata/packager/lsp_update_package errors this is more accurate because dep does not exist anymore * update rbi test output * rename test * update test/testdata/packager/simple_package/pass.flatten-tree.exp * @jez suggestions
Flatten virtual package module into a series of casgns (sorbet#5599) * Flatten virtual package module into series of casgns
Avoid re-running autogen based on constant cache (sorbet#5591) * add a basic cache structure, not yet used * add options * actually wire up the cache * wire it up and fix bugs * add relevant test * format c++ * switch to a desugared constant hash * wire up the new approach * format C++ * try moving the autogen early-exit check earlier * format c++ * Update main/autogen/cache.h Co-authored-by: Nathaniel Roman <nroman@stripe.com> * add some consts * a bit more function name tweaking * format c++ Co-authored-by: Getty Ritter <gdritter@stripe.com> Co-authored-by: Nathaniel Roman <nroman@stripe.com>
Rename some test files (sorbet#5625) * wip * wip * wip
Detect python3 properly in rec test (sorbet#5624)
Add an error assertion (sorbet#5645)
PreviousNext