Activity
From 04/27/2026 to 05/03/2026
Today
-
11:40 AM Feature #21953: Allow accessing unshareable objects within a Ractor-local Ruby Box
- @tikkss I think there is an issue with your accounting of memory because it doesn't match the RSS of the worker process.
This is running your example as-is.
```
$ ruby -v
ruby 4.0.2 (2026-03-17 revision d3da9fec82) +PRISM [x86_64-linux]... -
09:36 AM Revision c9b53473 (git): Refactor shape transition functions
- Expose both `rb_obj_shape_` functions that take a `VALUE`
and `rb_shape_` functions that take a `shape_id`.
Make common transition functions such as `complex` and `frozen`
inlineable.
Also get rid of RB_SET_SHAPE_ID and rb_set_boxed_cl... -
08:00 AM Revision 87529e19 (git): shape.c: simplify `transition_complex`
- We don't need to call into `shape_transition_object_id`, we know
we're transitioning to TOO_COMPLEX so the offset part of the id
can only be `ROOT_TOO_COMPLEX_SHAPE_ID` or `ROOT_TOO_COMPLEX_WITH_OBJ_ID`.
So there's no need to lookup the... -
05:56 AM Bug #21870: Regexp: Warnings when using slightly overlapping \p{...} classes
- Hi there! It's been a few weeks and I want to make sure this doesn't get lost - please understand that despite how it looks from a cursory viewing of the diff, the patch I've submitted does seem to remove the warning from exactly this ca...
05/02/2026
-
04:08 PM Revision db26919b (git): jits: don't assume `attr_index_t` is u16
- Extracted from: https://github.com/ruby/ruby/pull/16817
It's likely that it will be u8 soon. -
03:02 PM Feature #21953: Allow accessing unshareable objects within a Ractor-local Ruby Box
- Basically, I agree to this proposal. The described use case is very clear and understandable to me.
Technically, we can find several things to be considered.
1) It's not clear how a box is tied with a ractor
This proposal is bas... -
02:05 PM Feature #21998: Add {Method,UnboundMethod,Proc}#source_range
- Yes
-
12:43 PM Feature #21998: Add {Method,UnboundMethod,Proc}#source_range
- Eregon (Benoit Daloze) wrote in #note-21:
> I confirmed with both @mame and @matz, and matz said it should be from `p` of `proc`.
So that means it will include the original call and all arguments in all cases, including multi-line ca... -
11:19 AM Feature #21998: Add {Method,UnboundMethod,Proc}#source_range
- Eregon (Benoit Daloze) wrote in #note-10:
> I'm not sure if [@matz (Yukihiro Matsumoto)](/users/13) made his mind on: Start position: from the `p` of `proc`? Or from the `{`?
I confirmed with both @mame and @matz, and matz said it sh... -
10:18 AM Revision 9c07713b (git): shape.h: store `ancestor_index` as an offset
- This shrinks the `rb_shape_t` struct from 40B to 32B.
-
10:18 AM Revision 38711758 (git): shape.h: declate rb_shape_t.type as enum
-
09:38 AM Revision 9afb8a65 (git): shape.c: reorganize rb_shape_tree_t
- Embed and shrink the capacities array so that it can be queried
more efficiently.
Move `next_shape_id` and `cache_size` outside of the struct on their
own cache line, as they're expected to be incremented atomically from
concurrent thre... -
08:33 AM Revision 289343cf (git): Create imemo/fields with shape_id
- Simplify the API by taking a shape_id upon creation.
-
06:46 AM Revision 45d586ad (git): Never increment `max_iv_count` on Object / BasicObject.
- Otherwise some code defining ivars on a naked object early during
program boot can cause all objects to be larger than needed.
This seem like it was always the intention, but wasn't quite
properly prevented.
Also stop updating `max_iv_... -
05:02 AM Bug #22015: Success without RUBY_BOX=1, Failure with RUBY_BOX=1
- I found a minimal reproduction case.
The issue seems to relate to how `Enumerable#flat_map` handles `Symbol#to_proc` within a `Ruby::Box` environment. Notably, `map(&:method)` works as expected, while `flat_map(&:method)` fails.
```...
05/01/2026
-
07:25 PM Revision f2845eab (git): Add back note about regexp /x comment limitation
- It was dropped in https://github.com/ruby/ruby/commit/932dd9f10e684fa99b059054fbc934607d85b45a
-
07:11 PM Revision 1721acf1 (git): ZJIT: Inline Class#allocate
- This adds specialization for Class#allocate to perform the same inlining
that Class#new will do. This was done conservatively, only inlining when
we see a known leaf allocator so that there's no difference between
interpreter and JIT if ... -
06:33 PM Bug #22019 (Open): Set#intersect () segv if the block is called after return
- ```ruby
class C
include Enumerable
def each(&b)
$b = b
yield 1
end
end
Set[1, 2, 3] & C.new
$b.call(1) # [BUG] Segmentation fault at 0x00007f21bfa67f60
```
The cause is essentially the same as #5801, we're in... -
12:01 PM Feature #21953: Allow accessing unshareable objects within a Ractor-local Ruby Box
- Eregon (Benoit Daloze) wrote in #note-2:
> Did you measure the difference in memory usage?
> ...
Thanks for your reply. No, I didn't. But I took this opportunity to give it a try.
I increased the number of classes with three methods to ... -
05:05 AM Revision 9b8e5bb8 (git): [ruby/json] Avoid spamming too many deprecations while parsing
- https://github.com/ruby/json/commit/f6ca597cb1
-
03:10 AM Bug #21940 (Closed): Ruby::Box: `$_` returns stale value due to gvar_tbl caching
- Applied in changeset commit:git|f89b07ef0046257dd796a2e615cc063072114f16.
----------
Mark `$_` as box-dynamic to bypass Box gvar_tbl cache
`$_` is updated through svar (rb_lastline_set), bypassing
rb_gvar_set, so the Box gvar_tbl cache... -
03:10 AM Revision f89b07ef (git): Mark `$_` as box-dynamic to bypass Box gvar_tbl cache
- `$_` is updated through svar (rb_lastline_set), bypassing
rb_gvar_set, so the Box gvar_tbl cache is never invalidated
and returns a stale value. Call rb_gvar_box_dynamic so
gvar_use_box_tbl() skips the cache.
Fixes [Bug #21940](https://... - 02:41 AM Revision 81f2fcae (git): Bump insta in /zjit in the jit group across 1 directory
- Bumps the jit group with 1 update in the /zjit directory: [insta](https://github.com/mitsuhiko/insta).
Updates `insta` from 1.47.1 to 1.47.2
- [Release notes](https://github.com/mitsuhiko/insta/releases)
- [Changelog](https://github.co... -
01:50 AM Revision 5219c4c8 (git): [ruby/rubygems] Bump rb_sys to >= 0.9.127
- https://github.com/ruby/rubygems/commit/cf21e9113f
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
04/30/2026
-
10:09 PM Revision 1546943e (git): [DOC] Doc for Set.new
-
10:05 PM Revision fd1efa52 (git): [DOC] Harmonize basename methods
-
09:31 PM Misc #21956: DevMeeting-2026-05-13
- * [Feature #21981] Remove CREF rewriting for methods on cloned classes/modules
* Current behaviour is inconsistent with all other constant references being lexically scoped (inheritance, mixins, define_method). Only `Class#{dup,clone}... -
09:20 PM Revision ebd881f9 (git): Remove IMEMO allocation from match_named_captures
- onig_foreach_name is totally synchronous (either a for loop or an st_foreach), so it should be safe to pass data on the stack rather than allocating an IMEMO.
-
09:12 PM Revision 97319067 (git): [DOC] Harmonize birthtime methods (#16744)
-
06:20 PM Revision 096c9bb9 (git): Use flag to determine when MEMO.u3 is a VALUE
- We always know when this contains a VALUE and even fire a write barrier
for it. We should use this when marking, support compaction, and no
longer need conservative marking. -
06:20 PM Revision 802d964e (git): Remove MEMO.u3.func
- This was no longer used anywhere
- 02:27 PM Revision df623125 (git): [ruby/prism] Fix UTF-8 code units to match the number of bytes
- (https://github.com/ruby/prism/pull/4098)
https://github.com/ruby/prism/commit/442bd904ed -
09:44 AM Revision f037b47a (git): Update ext/Setup template files [ci skip]
-
07:08 AM Bug #21856: Massive performance degradation of `rb_obj_free` for `T_CLASS` since Ruby 4.0
- It's here https://github.com/ruby/ruby/pull/16434
4.0.3 was a security release only, so you can expect to get this fix in 4.0.4 which is intended to be released in may -
04:33 AM Bug #21856: Massive performance degradation of `rb_obj_free` for `T_CLASS` since Ruby 4.0
- Could we possibly check on this again? I checked master and found the change, but couldn't find it in neither 4.0.2 nor in 4.0.3. I looked in the repository on github as well into the official 4.0.3 tarball published on ruby-lang.org. It...
-
05:26 AM Revision 4a14dc87 (git): Share common code between Enumerator and ArithmeticSequence
-
03:40 AM Revision e716c6ee (git): [ruby/rubygems] Replace #9506 with a targeted :ruby_repo skip
- The blanket skip in checksums_section from #9506 caused 82 ruby-core test
failures whose lockfile expectations legitimately include the bundler
checksum (paths that go through `bundle install` where bundler is
activated as a gem). Revert... - 03:12 AM Revision 5dcc311f (git): enumerator.c: guard eargs during inspect
-
02:42 AM Revision c649d202 (git): [ruby/rubygems] Skip bundler self-checksum on ruby-core in test
- fixtures
(https://github.com/ruby/rubygems/pull/9506)
* Skip bundler self-checksum on ruby-core in test fixtures
In ruby-core test setup, bundler is loaded as a default gem and the
bundler.gem cache file is not present on disk where
Lo... - 02:24 AM Revision 7dda33be (git): Bump taiki-e/install-action
- Bumps the github-actions group with 1 update in the / directory: [taiki-e/install-action](https://github.com/taiki-e/install-action).
Updates `taiki-e/install-action` from 2.75.25 to 2.75.27
- [Release notes](https://github.com/taiki-e... -
12:18 AM Revision 88a4764f (git): [ruby/rubygems] Skip bundler self-checksum for unreleased bundlers
- (https://github.com/ruby/rubygems/pull/9501)
* Skip bundler self-checksum for unreleased bundlers
Using `Bundler.gem_version.end_with?(".dev")` only skips the own
checksum on master, but patch releases run from a source checkout
(e.g.,... -
12:08 AM Revision d61424bb (git): ZJIT: More recognizable JIT return poison, assert only when RUBY_DEBUG
- A good poison value gives a recognizable fault address if someone
erroneously dereferences. Asserting the pointer is not poison shouldn't
be necessary, so move it to RUBY_DEBUG builds.
04/29/2026
- 10:24 PM Revision 9f24ba51 (git): ZJIT: Specialize direct sends to methods with post-required positional parameters
-
10:22 PM Revision 62e59f2a (git): ZJIT: Prefer raw pointer over references in with_ruby_vm()
- When references show up on in the type declaration, it's an invitation
to think about how long the implicit lifetime is. This code
doesn't do anything tricky lifetime-wise, so it looks better declaring
only raw pointers. -
10:22 PM Revision acbc0ce5 (git): ZJIT: Replace std::mem::transmute with pointer casting
- As the documentation puts it, transmute is "incredibly unsafe". We can
express what we need to with pointer casts in these closure FFI
situations, so let's use pointer casts. -
10:22 PM Revision 4d56fc62 (git): YJIT: Replace std::mem::transmute with pointer casting
- As the documentation puts it, transmute is "incredibly unsafe". We can
express what we need to with pointer casts in these closure FFI
situations, so let's use pointer casts. -
09:30 PM Revision 072a6a4a (git): Rename `putstring` instruction as `dupstring`
- As well as `putchilledstring` as `dupchilledstring`.
This is more consistent with similar `duparray` and `duphash`
instructions and better reflect it's behavior. -
09:11 PM Bug #22009 (Closed): ERROR: AddressSanitizer: attempting to call malloc_usable_size() for pointer which is not owned: with ASAN and DEBUG enabled build
- Oh! Looks like this was already fixed by https://github.com/ruby/ruby/pull/16792
-
09:02 PM Bug #22009: ERROR: AddressSanitizer: attempting to call malloc_usable_size() for pointer which is not owned: with ASAN and DEBUG enabled build
- That makes sense that this crashes. We're allowing the GC to provide xmalloc and xfree, and in Ruby 4.1dev under debug that has additional padding. We should have an xmalloc equivalent of malloc_usable_size (at least in the one place we ...
-
08:43 PM Feature #21998: Add {Method,UnboundMethod,Proc}#source_range
- For
```ruby
l = -> x, y {
x + y
}
l.call(1)
```
ErrorHighlight shows:
```
test.rb:1:in 'block in <main>': wrong number of arguments (given 1, expected 2) (ArgumentError)
caller: test.rb:5
| l.call(1)
^^^^... -
08:35 PM Feature #21998: Add {Method,UnboundMethod,Proc}#source_range
- I was curious what's the reported location for `ArgumentError`s caused by lambda parameters and how ErrorHighlight highlights them.
For
```ruby
l = lambda { |x, y|
x + y
}
l.call(1)
```
With `parse.y`, the node (`RubyVM::... -
05:58 PM Bug #22016: ruby segfaults regularly
- Oh, sorry, you asked for more information:
uname -a was in the original bug report, I'm using NetBSD 11.99.5 on x86_64 (= amd64).
-
05:57 PM Bug #22016: ruby segfaults regularly
- Ruby does not compile out of the box for me, I'll attach the build log. I've attached the build log of a plain ruby build outside of pkgsrc, same system.
I don't know why it uses clang by default, 'cc' is gcc 14.3.0.
In case you're i... -
05:16 PM Bug #22016: ruby segfaults regularly
- Can you please provide the output of `lscpu` and/or `uname -a` along with the version of `gcc`? What happens when you install this exact Ruby version without pkgsrc, like from git or a tarball? Thanks.
-
01:13 PM Revision 3f75e999 (git): Bump RDoc to latest master (bc0baee) (#16807)
-
12:25 PM Revision f1b2b6ba (git): [ruby/openssl] ssl: refactor SSLSocket#{peer_,}finished_message
- The variable-sized alloca makes me nervous, even though it turned out
to be safe: the Finished message is 36 bytes long in SSL 3.0 and is
usually smaller in newer protocol versions. However, the alloca is not
actually needed since we can... - 11:15 AM Revision 686b071a (git): [ruby/openssl] pkcs7: fix error check of PKCS7_SIGNER_INFO_set()
- This function returns <=0 on error, not only 0.
This is evident by looking at the implementation where it can return a
negative error here [1]. Use in OpenSSL itself also uses the <=0 check [2].
[1] https://github.com/openssl/openssl/bl... - 11:08 AM Revision a130f137 (git): [ruby/openssl] asn1: add error checks for ASN1_STRING_set() calls
- Other calls in the project have such checks, add it consistently
everywhere to raise an exception in case of an error.
https://github.com/ruby/openssl/commit/ac48b6c8af -
11:07 AM Revision 97e0add5 (git): [ruby/openssl] hmac: enable tests in the FIPS mode
- Fix CI with OpenSSL master in the FIPS mode. With the fips provider in
OpenSSL master, HMAC keys shorter than 112 bits are rejected and MD5 is
disallowed. Update tests to use SHA-2 and longer keys.
https://github.com/ruby/openssl/commit... -
10:12 AM Revision 5fa9c730 (git): Update dependencies
- Fix-up for d3ef85a100a4d051fcafc6ef6c09c4faaecc086a.
- 09:59 AM Revision e3fe84d2 (git): [ruby/openssl] x509attr: use sk_ASN1_TYPE_new_reserve()
- This should avoid reallocations and prevent the main error condition of
the push call.
https://github.com/ruby/openssl/commit/0966d0466e - 09:59 AM Revision 801fc083 (git): [ruby/openssl] x509attr: check for errors of sk_ASN1_TYPE_push()
- This function returns 0 on error.
https://github.com/ruby/openssl/commit/8ca0afb30a - 09:56 AM Revision a9cbdceb (git): [ruby/openssl] cipher: fix error checks for EVP_CIPHER_CTX_ctrl()
- The return value behaviour isn't explicitly documented for OpenSSL.
For LibreSSL, it says [1]:
> EVP_CIPHER_CTX_ctrl() returns 1 for success or 0 for failure.
> ...
So it appears that we need to check for `<= 0` instead of `!0`.
Further... -
08:30 AM Bug #22018 (Open): ISeq created via `RubyVM::InstructionSequence.compile` don't support coverage
- Reproduction:
```ruby
require "coverage"
File.write("/tmp/a.rb", <<~RUBY)
module CoverableRaw
def self.call
"cover up"
end
end
CoverableRaw.call
RUBY
Coverage.start
require "/tmp/a.rb"
p Coverage.... -
08:02 AM Revision d3ef85a1 (git): [ruby/prism] Fix array-bounds error with GCC 9
- * In file included from /usr/include/string.h:535,
from include/prism/internal/arena.h:12,
from src/prism.c:6:
In function 'memset',
inlined from 'lex_mode_push_regexp' at src/prism.c:290:5:
.../... - 07:48 AM Revision eadefdd0 (git): Introduce `IO::Buffer#bit_count`. (#16784)
-
02:26 AM Revision 3345854f (git): Add YJIT test for outdated comment
- As of Ruby 4.0, the YJIT comment isn't quite correct because we now
store the reference to the `imemo/fields` object inline.
Which means that a Struct of precisely 78 members (max embeddable on
64bit archs) can cohexist in embedded and ... - 02:25 AM Revision 23215de7 (git): Bump taiki-e/install-action
- Bumps the github-actions group with 1 update in the / directory: [taiki-e/install-action](https://github.com/taiki-e/install-action).
Updates `taiki-e/install-action` from 2.75.23 to 2.75.25
- [Release notes](https://github.com/taiki-e... -
02:09 AM Revision 493d26dc (git): Reject overflowed repeat/null-check IDs in huge regexps (#16801)
- Add explicit errors for excessive range-repeat and null-check IDs;
map new errors in regerror; add regression tests for oversized generated
patterns. -
01:06 AM Feature #21871: Add Module#undef_const
- > emulate this feature by using autoload :Constant, "file/that/raises/exception".
We also suggested studying the possibility of allowing "autoload blocks":
```ruby
autoload :Constant { raise "Constant shouldn't be accessed from #{...
04/28/2026
- 10:51 PM Revision 1c39cc81 (git): ZJIT: Use SP for reloading locals (#16746)
- * ZJIT: Use SP for reloading locals
* ZJIT: Deduplicate post-send NoEPEscape patch point generation -
05:38 PM Feature #21871 (Rejected): Add Module#undef_const
- This was discussed again at the RubyKaigi developer meeting, but it was not accepted. However, the discussion during the meeting was helpful, as it turns out you can emulate this feature by using `autoload :Constant, "file/that/raises/ex...
-
03:36 PM Feature #21998: Add {Method,UnboundMethod,Proc}#source_range
- Proc's source in the code below consists of 3 parts. `do`, `inside\n<<B; end`, and `exclave\nB`.
```ruby
<<A; tap do
outside injected
A
inside
<<B; end; outside
exclave
B
```
Even if heredocs are used, I think `do` is the s... -
12:56 AM Feature #21998: Add {Method,UnboundMethod,Proc}#source_range
- > If I'm understanding you correctly, then what you would like for source_range for the example for foo and bar methods is then:
I don't claim to have any suggestion for HERE docs because of the disjoint problem you mentioned. But cle... -
12:41 AM Feature #21998: Add {Method,UnboundMethod,Proc}#source_range
- > The only choice for Prism.find there is to return the ForNode
`for` syntax does not parse as a ForNode without the block, so the two are not separable. Calls do parse without the block and remain CallNode. A block is an argument to ... -
01:36 PM Bug #22017 (Closed): Backport win32-resolv
- The win32-resolv library bundled with ruby 3.4 is half-baked 0.6.2.
It should be updated to 0.6.3 at least, hopefully 0.7.1. -
06:21 AM Revision 8d929853 (git): Get rid of rb_matchext_struct
- It can simply be merged inside `RMatch`.
- 03:54 AM Revision 5e6e6781 (git): Bump taiki-e/install-action
- Bumps the github-actions group with 1 update in the / directory: [taiki-e/install-action](https://github.com/taiki-e/install-action).
Updates `taiki-e/install-action` from 2.75.22 to 2.75.23
- [Release notes](https://github.com/taiki-e... -
02:11 AM Revision 2432ed89 (git): Further simplify common use case of NEWOBJ_OF
- Only few objects need to pass the starting shape.
-
02:11 AM Revision e4667e51 (git): Refactor NEWOB_OF for the common protected use case
- Almost every objects are now WB protected, with just a few
exceptions, hence we can provide a much simpler interface.
It's also much easier to find the remaining unprotected objects. -
02:11 AM Revision c202bc08 (git): Simplify `NEWOBJ_OF` and introduce `EC_NEWOBJ_OF`
- We only very rarely have the execution context available, so
it's preferable to provide a simpler default macro. -
12:39 AM Revision 379b95a2 (git): Get rid of RGENGC_WB_PROTECTED_NODE_CREF
- It's unused.
-
12:39 AM Revision c95a190d (git): Get rid of RGENGC_WB_PROTECTED_BIGNUM
- It has been the default for a very long time and there is no good reason to
disable it. -
12:39 AM Revision 70451a40 (git): Get rid of RGENGC_WB_PROTECTED_RATIONAL
- It has been the default for a very long time and there is no good reason to
disable it. -
12:39 AM Revision 5e99295f (git): Get rid of RGENGC_WB_PROTECTED_COMPLEX
- It has been the default for a very long time and there is no good reason to
disable it. -
12:39 AM Revision 92cba2ef (git): Get rid of RGENGC_WB_PROTECTED_FLOAT
- It has been the default for a very long time and there is no good reason to
disable it. -
12:39 AM Revision ac0a319d (git): Get rid of RGENGC_WB_PROTECTED_CLASS
- It has been the default for a very long time and there is no good reason to
disable it. -
12:39 AM Revision 9e47f988 (git): Get rid of RGENGC_WB_PROTECTED_MATCH
- It has been the default for a very long time and there is no good reason to
disable it. -
12:39 AM Revision e9f372a2 (git): Get rid of RGENGC_WB_PROTECTED_REGEXP
- It has been the default for a very long time and there is no good reason to
disable it. -
12:39 AM Revision 83d4117b (git): Get rid of RGENGC_WB_PROTECTED_OBJECT
- It has been the default for a very long time and there is no good reason to
disable it. -
12:39 AM Revision 267ce6f8 (git): Get rid of RGENGC_WB_PROTECTED_STRING
- It has been the default for a very long time and there is no good reason to
disable it. -
12:39 AM Revision 9307d1b5 (git): Get rid of RGENGC_WB_PROTECTED_STRUCT
- It has been the default for a very long time and there is no good reason to
disable it. -
12:39 AM Revision 7040286d (git): Get rid of RGENGC_WB_PROTECTED_HASH
- It has been the default for a very long time and there is no good reason to
disable it. -
12:39 AM Revision e603aa0d (git): Get rid of RGENGC_WB_PROTECTED_ARRAY
- It has been the default for a very long time and there is no good reason to
disable it.
04/27/2026
-
10:54 PM Feature #21795: Methods for retrieving ASTs
- kddnewton (Kevin Newton) wrote in #note-21:
> If, regardless, you would like to keep pursuing it, you need to produce working code for those two examples.
Done:
https://github.com/eregon/error_highlight/pull/1
https://github.com/er... -
07:05 PM Feature #21795: Methods for retrieving ASTs
- kddnewton (Kevin Newton) wrote in #note-23:
> Unless you're once again suggesting we only rely on line/column, which as already mentioned multiple times and rejected multiple times, won't work.
Do you have a concrete example why it w... -
12:34 AM Feature #21795: Methods for retrieving ASTs
- Necessarily if the ABI changes, it means the AST shape changed. So how can you possibly expect it to work "whether the loaded prism gem ABI matches that or not". If the AST shape changed, then you're guessing. Unless you're once again su...
-
09:50 PM Feature #21953: Allow accessing unshareable objects within a Ractor-local Ruby Box
- tikkss (Tsutomu Katsube) wrote in #note-1:
> You might argue, "Why not run it in a multi-process?" However,
> ...
Did you measure the difference in memory usage?
I'd expect it to be small because each Ruby::Box has pretty much a cop... -
09:37 PM Feature #21953: Allow accessing unshareable objects within a Ractor-local Ruby Box
- I describe the use case of test-unit.
Now, we are implementing `Ractor` based parallel test runner. The tests
are run on non-main ractors.
We have met a lot of `Ractor::IsolationError`. Each time, We have tried
using `freeze` or ... -
06:47 PM Feature #21998: Add {Method,UnboundMethod,Proc}#source_range
- headius (Charles Nutter) wrote in #note-12:
> The target of the break is a semantic detail, not a syntactic one, and it is not determined at parse time.
It does, it is determined at parse time. Break is a syntactic construct.
> ..... -
12:37 AM Feature #21998: Add {Method,UnboundMethod,Proc}#source_range
- > It makes no sense for the range of the syntactic block here to include the entire expression of the call and its arguments.
If I'm understanding you correctly, then what you would like for source_range for the example for `foo` and ... - 04:37 PM Revision 5da79da5 (git): [ruby/prism] Fix missing Ripper doc caused by shim with `:nodoc:`
- This fixes the missing Ripper documentation, which currently returns 404 Not Found:
https://docs.ruby-lang.org/en/master/Ripper.html
We need to use `:stopdoc:`/`startdoc:` instead of `:nodoc:` to ignore the shim markup.
See also https:... -
03:51 PM Revision ef758280 (git): Remove warning in TestISeq#test_compile_file_options
-
03:23 PM Revision 587d03e7 (git): Expose a simplified `rb_newobj_of`
- No longer takes an EC, `rb_ec_newobj_of` does.
-
03:23 PM Revision 79aa1d23 (git): gc.h: refactor NEWOBJ_OF macro
- Unifies `rb_wb_unprotected_newobj_of` and `rb_wb_protected_newobj_of`.
-
02:02 PM Bug #20409 (Open): Missing reporting some invalid breaks
- Re-opening, we need a syntax error for parse.y.
-
02:01 PM Bug #20409 (Closed): Missing reporting some invalid breaks
- Applied in changeset commit:git|558c10413990cb08b7750895b572b0b59eed0d28.
----------
[ruby/prism] Reject `END { break }` for Ruby 4.0
For [Bug #20409]
https://github.com/ruby/prism/commit/4848eb344e -
02:01 PM Revision 558c1041 (git): [ruby/prism] Reject `END { break }` for Ruby 4.0
- For [Bug #20409]
https://github.com/ruby/prism/commit/4848eb344e -
11:52 AM Revision e7de4b3d (git): rb_objspace_data_type_memsize: fix compatibility with CALC_EXACT_MALLOC_SIZE
- When `CALC_EXACT_MALLOC_SIZE` `ptr` isn't the real allocated pointer.
On macOS giving a wrong pointer to `malloc_usable_size` returns 0,
even with ASAN enabled, however on Linux it does fail. -
05:03 AM Revision 3bec8005 (git): Add test for compile option support
- 02:34 AM Revision 1de3deb5 (git): Bump the github-actions group across 1 directory with 2 updates
- Bumps the github-actions group with 2 updates in the / directory: [ruby/setup-ruby](https://github.com/ruby/setup-ruby) and [taiki-e/install-action](https://github.com/taiki-e/install-action).
Updates `ruby/setup-ruby` from 1.305.0 to ...