| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
`Delegator.delegating_block` should delegate keyword arguments
separately. [ruby-core:96949]
(cherry picked from commit 9bcf4f3db26249772c983896ebbc9ff41f4614db)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously, this code:
ruby2_keywords def foo(*a) a.last end
foo(**{})
Returned an empty frozen hash. However, the final hash should
not be frozen in this case, as it wouldn't be if foo accepted
a keyword splat.
Use a new unfrozen empty hash instead of reusing the frozen empty
hash in this case.
Fixes [Bug #16642]
|
| |
|
|
|
|
|
|
| |
in favor of #2791
(cherry picked from commit b00418732c89ce42c1c4cef57d08344659fbdd2b)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously, if an object has a singleton class, and you call
Object#method on the object, the resulting string would include
the object's singleton class, even though the method was not
defined in the singleton class.
Change this so the we only show the singleton class if the method
is defined in the singleton class.
Fixes [Bug #15608]
(cherry picked from commit e02bd0e713ef920e6d12c27f16548f48ec5c2cf0)
|
|
|
|
|
|
|
| |
As `command_rhs` is always a "value expression", `command_asgn`
does not need the same check. [Bug #16619]
(cherry picked from commit 6e6844320de989cb88a154e2ac75066ccea1bba2)
|
|
|
|
|
|
|
| |
`rb_funcallv_public` and `rb_respond_to` require an `ID`, not a
`Symbol`. [Bug #16649]
(cherry picked from commit 8b6e2685a4b7c7de905f7ed60c02ef85e0724754)
|
|
|
|
| |
(cherry picked from commit 041c2932e336b509b0ddc1fdbd9f160bce8d4893)
|
|
|
|
|
|
| |
[Bug #16634]
(cherry picked from commit fb472ca7adbaceb35aae1b3a6b948720ffc9eb53)
|
|
|
|
|
|
|
| |
Retrying after rescued `require` should try to load the same
library again. [Bug #16607]
(cherry picked from commit 7d6903dc476f982e7b432adbeef3a3d9372a309f)
|
| |
|
|
|
|
|
|
| |
Because the package provided by GitHub releases is different from sourceware.
(cherry picked from commit 47a1872cd8b901b8aab6dedce7fa3807c97d290d)
|
|
|
|
|
| |
[Bug #16681]
(cherry picked from commit 86022167461dc90b70164e2bb23316959bbfd6ba)
|
|
|
|
|
|
|
|
|
|
| |
To enable implementation-defined output processing, for the
compatibility with readline. [Bug #16509]
https://bugs.ruby-lang.org/issues/16509
https://github.com/ruby/io-console/commit/8c8b0b6757
(cherry picked from commit 4e56ec4ef74cf77dbcb4ce7c669e0595cd0d12fa)
|
|
|
|
| |
(cherry picked from commit aeaf0dc55595b8a5bfdd92007fb85ef13855c632)
|
|
|
|
| |
(cherry picked from commit 33d02e6bc7502c5a3f09c59908a8c9f08a474b8d)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
commit c98c492578d898dc07a04b8240d8d5b1508ffafa
Author: Nobuyoshi Nakada <nobu@ruby-lang.org>
Date: Fri Jan 17 16:56:53 2020 +0900
Added test for f38b3e8c707ebdcad05aa9485cf1760640b74fbb
commit f38b3e8c707ebdcad05aa9485cf1760640b74fbb
Author: Nobuyoshi Nakada <nobu@ruby-lang.org>
Date: Thu Jan 16 18:34:31 2020 +0900
Fixed the location of args node with numbered parameter
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
It was set to 1000 in a4a2b9be7a55bb61d17cf9673ed0d2a93bb52d31.
However on ruby-2.7.0p0, there are much more than 1k frozen string right after boot:
```
$ ruby -robjspace -e 'p ObjectSpace.each_object(String).select { |s| s.frozen? && ObjectSpace.dump(s).include?(%{"fstring":true})}.uniq.count'
5948
```
|
| |
|
|
|
|
| |
[Bug #16514]
|
| |
|
| |
|
|
|
|
| |
when the next insn is already compiled by former branches.
|
| |
|
| |
|
|
|
| |
In #2818, `Hash.ruby2_keywords!` has renamed to `Hash.ruby2_keywords_hash`.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It was found that a feature to check and add ruby2_keywords flag to an
existing Hash is needed when arguments are serialized and deserialized.
It is possible to do the same without explicit APIs, but it would be
good to provide them as a core feature.
https://github.com/rails/rails/pull/38105#discussion_r361863767
Hash.ruby2_keywords_hash?(hash) checks if hash is flagged or not.
Hash.ruby2_keywords_hash(hash) returns a duplicated hash that has a
ruby2_keywords flag,
[Bug #16486]
|
| |
|
|
|
|
|
| |
Block for `create_makefile` is expected to return the content of
the makefile.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
BSD make can run parallel more aggressively than GNU make. It communicate
with other make process through -J option in MAKEFLAGS environment variable
to notify a build failure happend in an other pararell make process.
https://www.freebsd.org/cgi/man.cgi?make
It usually works well but ext/-test-/cxxanyargs/Makefile has two targets
which are expected to fail (failure.o and failurem1.o).
Additional note:
To test and debug this issue, following command will speed up it.
`make -f exts.mk -j8 clean all`
|
|
|
|
|
| |
If the timer thread is left stopped, memory crash or segfault can
happen. [Bug #16624]
|
| |
|
|
|
|
|
| |
And revert "Stop test-bundled-gems on macOS for now",
28b290f7f4cb332dab3ddf3132e1916d413ea65c.
|
| |
|
|
|
|
|
|
| |
There is no active maintainer for cygwin. The CI failure is too noisy.
[Misc #16407]
|
|
|
|
|
|
| |
`shell: bash` runs bash on msys which prefers git on msys too,
then checked out in CRLF mode. Cygwin sed doesn't consider the CR
a part of EOL code, though.
|
| |
|
| |
|
|
|
|
| |
mame-san said it's weird
|
|
|
|
|
|
|
|
|
| |
Since 8c9450e7b875db846b19cc631af0d7fee66db5c6, we increased the chance
to run GitHub Actions on a fork, as we usually use a topic branch
instead of master when filing a pull request.
This patch makes it possible to reuse the same GitHub Actions config on
a fork repository.
|
|
|
|
| |
instead of unnecessarily defining env vars
|
|
|
|
| |
trunk branch was deleted.
|
|
|
|
| |
The format is the same as Travis / AppVeyor now.
|
|
|
|
|
| |
When `make all` fails, we should not run tests and output of such run is
confusing.
|
|
|
|
| |
`make check` runs test -> test-all -> test-spec, and other CIs follow that too.
|
|
|
|
| |
We're actually using it for PR :p
|
| |
|