diff options
| author | Jeremy Evans <code@jeremyevans.net> | 2023-12-08 14:30:39 -0800 |
|---|---|---|
| committer | Jeremy Evans <code@jeremyevans.net> | 2024-01-24 18:25:55 -0800 |
| commit | 4f77d8d3289ece0e3537d9273a5c745120bff59a (patch) | |
| tree | ab56abca15cc1ad9a6277c6ff45c05d3dc226f4d /.github | |
| parent | 0f90a24a816bec438edb272fb83f334484dfc285 (diff) | |
Do not use ruby2_keywords for ... argument forwarding
This allows ... argument forwarding to benefit from Allocationless
Anonymous Splat Forwarding, allowing the `f` call below to not
allocate an array or a hash.
```ruby
a = [1]
kw = {b: 2}
def c(a, b:)
end
def f(...)
c(...)
end
f(*a, **kw)
```
This temporarily skips prism locals tests until prism is changed
to use * and ** for ..., instead of using ruby2_keywords.
Ignore failures in rbs bundled gems tests, since they fail due
to this change.
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/ubuntu.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index b78570e224..3a8c563cf4 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -99,7 +99,7 @@ jobs: env: RUBY_TESTOPTS: '-q --tty=no' TESTS: ${{ matrix.test_task == 'check' && matrix.skipped_tests || '' }} - TEST_BUNDLED_GEMS_ALLOW_FAILURES: 'typeprof' + TEST_BUNDLED_GEMS_ALLOW_FAILURES: 'rbs,typeprof' PRECHECK_BUNDLED_GEMS: 'no' - name: make skipped tests |
