Activity
From 01/04/2025 to 01/10/2025
01/10/2025
-
11:03 PM Misc #21025 (Closed): What's the default encoding of `String.new`?
- Applied in changeset commit:git|cde065c32c8db34eaf2c6b8646a2d4a34e20a3ec.
----------
Clarify documentation for encod... -
07:48 PM Misc #21025: What's the default encoding of `String.new`?
- I created https://github.com/ruby/ruby/pull/12548 for this.
-
06:12 PM Misc #21025: What's the default encoding of `String.new`?
- Cool, thanks for the info, I'll create a PR to improve the documentation.
-
05:22 PM Misc #21025: What's the default encoding of `String.new`?
- It's just a documentation bug.
It's always BINARY for `String.new` without args. -
04:57 PM Misc #21025 (Closed): What's the default encoding of `String.new`?
- In the documentation (https://docs.ruby-lang.org/en/3.4/encodings_rdoc.html#label-String+Encoding) I see a good expla...
-
11:03 PM Revision 4d8eaa9e (git): YJIT: Rename send_iseq_forwarding->send_forwarding
- It's in gen_send_general(), so nothing specifically to do with iseqs.
-
10:36 PM Revision cde065c3 (git): Clarify documentation for encoding of `String.new` without arguments
- [Bug #21025]
-
09:39 PM Bug #20489 (Closed): Ractor behavior strange in ruby master
- Applied in changeset commit:git|50c2c4bddee5a2c5edc0d9fc0f635befdfc4bacc.
----------
Make rb_vm_insns_count a thread... -
03:47 AM Bug #20489: Ractor behavior strange in ruby master
> Unfortunately, it's still not as fast as tarai(1, 1):
This may cause by a native thread and ractor thread mapp...-
01:13 AM Bug #20489: Ractor behavior strange in ruby master
- Ah I was running a non-yjit build. Good work guys, that's a weird bug for sure. The thread-local wouldn't work with r...
-
09:39 PM Revision 50c2c4bd (git): Make rb_vm_insns_count a thread local variable
- `rb_vm_insns_count` is a global variable used for reporting YJIT
statistics. It is a counter that tallies the number ... -
09:29 PM Revision 039446f6 (git): [ruby/irb] Gracefully handle incorrect command aliases
- (https://github.com/ruby/irb/pull/1059)
* Gracefully handle incorrect command aliases
Even if the aliased target is... -
04:55 PM Bug #21024 (Closed): Ruby including <cstdbool> generates compilation warning with GCC 15, header is deprecated in C++17,
- C++ compiler in GCC 15 now generates a warning when trying to include `<cstdbool>`.
This file is being included when... -
04:22 PM Revision 4a2702da (git): Remove stale declaration for modular GC
-
04:01 PM Revision eb8f29c4 (git): [rubygems/rubygems] Fix test failure when running tests with ENV["EDITOR"] set
- Can be reproduced, for example, with
```
bin/rspec spec/bundler/cli_spec.rb spec/other/cli_man_pages_spec.rb --order... -
03:59 PM Revision 8adc96b5 (git): [ruby/date] Skip tests failing on TruffleRuby
- https://github.com/ruby/date/commit/d019ac8186
-
03:27 PM Bug #21022 (Closed): The --with-modular-gc= option is cumbersome
-
03:27 PM Bug #21022 (Open): The --with-modular-gc= option is cumbersome
- > That mentions 1-2 %. Assuming that the ultimate target is to be able to use different GC, which in theory might com...
-
03:23 PM Bug #21022 (Closed): The --with-modular-gc= option is cumbersome
-
09:59 AM Bug #21022: The --with-modular-gc= option is cumbersome
- peterzhu2118 (Peter Zhu) wrote in #note-2:
> > What is the intended configuration?
>
> We realize that this featu... -
03:17 PM Revision cfee3d9f (git): Revert "[MMTk/CI] Skip Ractor btests with MMTk"
- This reverts commit 58b4e249ed8d33fc78528bc77516d541c04d65f2.
The bug that it encountered was fixed in f76d40789d2c7... -
03:17 PM Revision f1049aa5 (git): Don't check for presence of `ENV['GITHUB_WORKFLOW']`
- We already check whether `ENV['GITHUB_WORKFLOW']` is equal to `Compilations`,
so we don't need to check that it's not... -
11:40 AM Bug #21021: "try to mark T_NONE object" with 3.4.1
- We are not seeing the issue if we disable YJIT, but it could be a side effect.
-
08:52 AM Bug #21021: "try to mark T_NONE object" with 3.4.1
- Thanks for your answers.
tenderlovemaking (Aaron Patterson) wrote in #note-3:
> Are you able to get a core file or a... -
11:34 AM Misc #21019: DevMeeting-2025-02-13
- * [Bug #20998] rb_str_locktmp() changes flags of frozen strings and string literals (eregon)
* Current behavior on... -
11:13 AM Bug #21023: Unintentional ruby/spec capi extension build twice
- ```
❯ make -v
GNU Make 4.4.1
Built for aarch64-apple-darwin23.0.0
```
I used gnu-make provided by homebrew. -
08:42 AM Bug #21023 (Open): Unintentional ruby/spec capi extension build twice
I faced `building spec/ruby/optional/capi/ext/` build twice sometimes like:
```
❯ make -j
revision.h updated...-
07:57 AM Revision c7e5dbe1 (git): Bump up logger-1.6.5 for TruffleRuby
- 07:00 AM Revision 1babff98 (git): Update bundled gems list as of 2025-01-10
-
06:02 AM Revision be6a81c8 (git): Removed benchmark, logger, ostruct and pstore from sync targets
-
05:38 AM Revision e8015ce1 (git): [ruby/syntax_suggest] Resolve to lint failure of standardrb
- https://github.com/ruby/syntax_suggest/commit/ce7b87184e
-
04:27 AM Revision a450e930 (git): Extract Benchmark.measure on assert_cpu_usage_low
-
03:52 AM Bug #20480: Complie failure for unable to configure NET_LUID using msys2 mingw64-gcc
- Finally, This configure problem is caused by a intel CPU instability problem (See `https://community.intel.com/t5/Pro...
-
02:10 AM Misc #21009 (Closed): Removed old archives from top-level of cache.ruby-lang.org.
- No one objected to this proposal at #20949 .
I have been removed them and snapshot-master.tar.bz2 in https://cache... - 01:20 AM Revision 447f426b (git): Update bundled gems list at 503073581915761bb8b99a8e41d0a5 [ci skip]
-
01:19 AM Revision 50307358 (git): Use fixed commits for assert_in_out_err of pstore and logger
-
01:19 AM Revision fcecef77 (git): Added logger dependency for Bundler's example
-
01:19 AM Revision 31855506 (git): Make Pstore tests as optional
-
01:19 AM Revision 1089282a (git): Make benchmark exapmles as optional
-
01:19 AM Revision 3a1414a7 (git): Rewrite Benchmark to Tempfile on bootstraptest/test_ractor.rb
-
01:19 AM Revision cda268d8 (git): Make logger as bundled gems
-
01:19 AM Revision b0d3771b (git): Make benchmark as bundled gems
-
01:19 AM Revision 0c3dca62 (git): Make pstore as bundled gems
01/09/2025
-
10:33 PM Bug #21021: "try to mark T_NONE object" with 3.4.1
- There seems to be a weakmap bug that's been around since at least November 2024 that could be responsible: http://ci....
-
08:26 PM Bug #21021: "try to mark T_NONE object" with 3.4.1
- Are you able to get a core file or a backtrace from gdb? The bug is that some object has a T_NONE reference and is t...
-
05:10 PM Bug #21021: "try to mark T_NONE object" with 3.4.1
- Benoit_Tigeot (Benoit Tigeot) wrote in #note-1:
> I was wrong. We still have the issue. Here is a new crash dump : [... -
04:05 PM Bug #21021: "try to mark T_NONE object" with 3.4.1
- Benoit_Tigeot (Benoit Tigeot) wrote:
> We migrated this part of the code to parallel->concurrent-ruby and we do not ... -
03:43 PM Bug #21021 (Closed): "try to mark T_NONE object" with 3.4.1
- Hello
We upgraded to 3.4.1 yesterday but we are seeing crash since then.
```
/bundle/ruby/3.4.0/gems/activejob... -
07:14 PM Bug #20489: Ractor behavior strange in ruby master
- nekoyama32767 (Jinsong Yu) wrote in #note-10:
> tenderlovemaking (Aaron Patterson) wrote in #note-7:
> > The regres... -
05:47 AM Bug #20489: Ractor behavior strange in ruby master
- tenderlovemaking (Aaron Patterson) wrote in #note-7:
> The regression in Ruby 3.3 came from [this commit](https://gi... -
05:16 AM Bug #20489: Ractor behavior strange in ruby master
- tenderlovemaking (Aaron Patterson) wrote in #note-7:
> The regression in Ruby 3.3 came from [this commit](https://gi... -
04:58 AM Bug #20489: Ractor behavior strange in ruby master
- tenderlovemaking (Aaron Patterson) wrote in #note-7:
> The regression in Ruby 3.3 came from [this commit](https://git... -
01:11 AM Bug #20489: Ractor behavior strange in ruby master
- The regression in Ruby 3.3 came from [this commit](https://github.com/ruby/ruby/pull/8064). It seems like `rb_vm_ins...
-
12:22 AM Bug #20489: Ractor behavior strange in ruby master
- It looks like the VM loop is much slower in Ruby 3.5 than Ruby 3.2:
: Ractor behavior strange in ruby master
- Sorry, I'm totally wrong. I misread the reproduction steps. I can reproduce this problem.
The way I tested is wi... -
07:08 PM Revision f76d4078 (git): [ruby/mmtk] Enable UNIQUE_OBJECT_ENQUEUING in MMTk
- UNIQUE_OBJECT_ENQUEUING guarantees that object marking is atomic so that
an object cannot be marked more than once.
... -
07:08 PM Revision 4ce82f1c (git): [ruby/mmtk] Bump mmtk-core to
- https://github.com/ruby/mmtk/commit/68bf1b638263
https://github.com/ruby/mmtk/commit/ba1ec69bf6 -
06:58 PM Feature #8751 (Closed): Add offsets to method#source_location
-
06:31 PM Feature #8751: Add offsets to method#source_location
- Eregon (Benoit Daloze) wrote in #note-7:
> In light of end line and column information being added in #6012 do you t... -
02:33 PM Feature #8751: Add offsets to method#source_location
- In light of end line and column information being added in #6012 do you think there is still a need for byte offsets?
- 06:13 PM Revision d96cc52e (git): [rubygems/rubygems] Add credentials file path to "gem env".
- There are 3 possible locations:
- $HOME/.gem/credentials
- $XDG_DATA_HOME/gem/credentials
- $HOME/.local/share/gem/c... -
05:50 PM Bug #21022: The --with-modular-gc= option is cumbersome
- > What is the intended configuration?
We realize that this feature is currently cumbersome to use as it requires a... -
04:34 PM Bug #21022 (Closed): The --with-modular-gc= option is cumbersome
- Just experimenting a bit with the `--with-modular-gc=` if it is worth of enabling in Fedora, but I somehow cannot wra...
-
05:42 PM Feature #20971: Deprecate `rb_path_check`
- PR https://github.com/ruby/ruby/pull/12542
-
09:03 AM Feature #20971: Deprecate `rb_path_check`
- As a UNIX user from ancient time, I feel a world writable directory is too dangerous to allow. But if everyone is OK ...
-
05:34 PM Revision 2da91080 (git): [ruby/mmtk] Fix libmmtk_ruby.a building in extconf.rb
- Since libmmtk_ruby.a was a PHONY target, it caused the shared object to
not be rebuilt even though libmmtk_ruby.a was... -
05:00 PM Bug #20998: rb_str_locktmp() changes flags of frozen strings and string literals
- I prefer the noop solution, as it makes it a much easier to use API. But no strong opinion.
-
04:14 PM Bug #20998: rb_str_locktmp() changes flags of frozen strings and string literals
- @nobu @byroot So do you think rb_str_locktmp() should noop on frozen strings (since they can't change anyway), or it ...
-
03:55 PM Feature #6012: Proc#source_location also return the column
- mame (Yusuke Endoh) wrote in #note-25:
> Matz was negative neither on adding a new class like Ruby::CodeLocation for... -
02:30 PM Feature #6012: Proc#source_location also return the column
- Great to see this was accepted and even already implemented! (thanks @nobu!)
Byte offsets would be mostly for perf... -
01:21 PM Feature #6012 (Closed): Proc#source_location also return the column
- Applied in changeset commit:git|073c4e1cc712064e626914fa4a5a8061f903a637.
----------
[Feature #6012] Extend `source_... -
11:51 AM Feature #6012: Proc#source_location also return the column
- This was discussed at the October 2024 dev meeting and @matz approved `source_location` to return `[path, start_line,...
-
11:26 AM Feature #6012: Proc#source_location also return the column
- I'm not sure about attributes and `Binding#source_location`.
https://github.com/ruby/ruby/pull/12539 -
03:41 PM Revision 5fab31b1 (git): Enable riscv64 coroutine on OpenBSD/riscv64
-
03:21 PM Revision 5045c666 (git): [DOC] Use Hash inspect without hash-rocket in Hash documentation (#12540)
- Co-authored-by: tomoya ishida <[email protected]>
-
03:07 PM Revision d8a21592 (git): coroutine/ppc64le: fix conditional registers got clobbered unexpectedly
- Now we also save the special cr registers during the fiber switching
-
02:49 PM Feature #21020 (Feedback): Sync sig directory for prism of default gem.
- Currently, the type signatures (RBS) for the default gem is not available.
**Prism** is the only default gem with ty... -
02:36 PM Feature #21005: Update the source location method to include line start/stop and column start/stop details
- The original proposal has been accepted (adding end line and column information), see https://bugs.ruby-lang.org/issu...
-
02:21 PM Feature #20925: Allow boolean operators at beginning of line to continue previous line
- It's the same thing for method calls right?
```ruby
a = 1
.to_s
```
It changes the RHS of assignment to `1.to_s`... -
06:48 AM Feature #20925: Allow boolean operators at beginning of line to continue previous line
- Dan0042 (Daniel DeLorme) wrote in #note-8:
> a = b
> && c
> should be parsed as
>
> a = (b
> && c)
> corr... -
12:03 PM Bug #20965: `it` vs `binding.local_variables`
- We discussed this at the dev meeting. The above behavior of `p binding.local_variable_get(:_1)` is considered a bug.
... -
11:52 AM Misc #21019 (Closed): DevMeeting-2025-02-13
- # The next dev meeting
**Date: 2025/02/13 13:00-17:00** (JST)
Log: https://github.com/ruby/dev-meeting-log/blob/m... -
11:52 AM Misc #20949 (Closed): DevMeeting-2025-01-09
-
11:42 AM Bug #20980 (Closed): Range#size new TypeError vs semi-open ranges
- The current behavior is intended. In principle, `#size` should return how many times `#each` will call a given block....
-
11:36 AM Bug #20974: Required and optional anonymous parameter show differently in Proc#parameters
- Discussed at the dev meeting. @matz said that it should return `[[:opt]]` instead of `[[:opt, nil]]`.
-
11:35 AM Feature #20953: Array#fetch_values vs #values_at protocols
- Discussed at the dev meeting. @matz liked to align the behavior of Array#fetch_values with Array#values_at here in th...
-
11:33 AM Bug #20920: When loading a file, __FILE__ gets relative paths expanded only when they start with "./"
- Discussed at the dev meeting. @matz suggested that we try modifying it so that only the `load "foo.rb"` case is a ful...
-
11:26 AM Feature #20987: Add dbg - minimal debugging helper
- This proposal was discussed in the dev meeting.
@matz said that, while adding a new method or changing the default... -
11:21 AM Revision 073c4e1c (git): [Feature #6012] Extend `source_location` for end position and columns
-
10:55 AM Bug #21018 (Closed): Show invalid command line option more properly
- Applied in changeset commit:git|dfe6b7c02efa3bc2f5426eb64107ac0ac45a66a4.
----------
[Bug #21018] Show invalid comma... -
10:26 AM Revision dfe6b7c0 (git): [Bug #21018] Show invalid command line option more properly
-
10:24 AM Revision d44a41d8 (git): Add `rb_node_get_type` for debuggers
-
10:14 AM Feature #21015: Add in a `-g` flag, like `-s` but with a few more quality of life features
- I like the basic idea of this proposal. But, I am against:
* `-g` option name. `-s` is relatively unpopular. Even ... -
09:24 AM Revision 6069e8fe (git): Refactor for loop handling to simplify do keyword location assignment
-
09:24 AM Revision 7790aa89 (git): Use Named Reference
-
09:24 AM Revision c7213011 (git): Implement FOR NODE locations
- The following Location information has been added This is the information required for parse.y to be a universal pars...
-
04:53 AM Revision 84155524 (git): [DOC] Show `NONE` within `Measure` namespace (#12274)
- Keep `NONE` within `Measure`
-
04:22 AM Feature #20993 (Rejected): Allow `class <constant-path> = <expression>` syntax
- This is a too trivial issue to add new syntax. I suggest the following (I know the difference, but it works OK, doesn...
-
12:47 AM Bug #20997 (Closed): YJIT panic assertion `left == right` failed: leave instruction expects stack size 1, but was: 2
- Applied in changeset commit:git|dd80d9b089e35729d585bae2f8866c845c48f3b7.
----------
YJIT: Filter `&` calls from spe... -
12:41 AM Bug #20997: YJIT panic assertion `left == right` failed: leave instruction expects stack size 1, but was: 2
- Thanks for the report! Everything being available rubygems helped with diagnosis. A fix for this should land soon-ish...
-
12:47 AM Revision dd80d9b0 (git): YJIT: Filter `&` calls from specialized C method codegen
- Evident with the crash reported in [Bug #20997], the C replacement
codegen functions aren't authored to handle block ...
01/08/2025
-
11:27 PM Bug #20489 (Feedback): Ractor behavior strange in ruby master
- I also can't seem to reproduce this:
```
[aaron@tc-lan-adapter ~/g/ruby (master)]$ time ruby -v test.rb 8 8
ruby... -
10:01 PM Bug #20489: Ractor behavior strange in ruby master
- For me the runtime goes up a lot when I increase # of ractors when `VM_CHECK_MODE > 0`, but in non-debug mode it runs...
-
08:42 PM Revision 96f23306 (git): [ruby/prism] Revert "Reject pattern match with unexpected double splat inside array"
- https://github.com/ruby/prism/commit/51e7c84124
-
08:36 PM Revision c4534c9f (git): [ruby/prism] Handle escapes in named capture names
- https://github.com/ruby/prism/commit/b4b7a69ce7
-
06:50 PM Misc #20949: DevMeeting-2025-01-09
- * [Feature #21015] Add in a `-g` flag, like `-s` but with a few more quality of life features (sampersand2)
* Ther... -
05:33 PM Revision 36b6625b (git): Refactor `parse_isalnum` and `parse_isxdigit` to use macro
-
05:24 PM Bug #21012 (Closed): Compiling `a['a','b'],=1` with parse.y fails
- Applied in changeset commit:git|e0d600ec190c64aff76cfcbd6009cffb927da166.
----------
Avoid opt_aset_with optimizatio... -
01:38 AM Bug #21012: Compiling `a['a','b'],=1` with parse.y fails
- I've submitted a PR that should fix this: https://github.com/ruby/ruby/pull/12528
-
05:23 PM Revision 500a8775 (git): [ruby/prism] Reject pattern match with unexpected double splat inside array
- `a => [-2**b]` should be SyntaxError
Fixes: https://github.com/ruby/prism/issues/3381
https://github.com/ruby/prism... -
05:22 PM Feature #21005: Update the source location method to include line start/stop and column start/stop details
- Eregon (Benoit Daloze) wrote in #note-14:
> Maybe CRuby does not currently preserve the information of end line and... -
02:15 PM Feature #21005: Update the source location method to include line start/stop and column start/stop details
- Eregon (Benoit Daloze) wrote in #note-3:
> If it's a new method, I think we should return a "code location" object (... -
10:24 AM Feature #21005: Update the source location method to include line start/stop and column start/stop details
- It's very important that this new feature does not expect users to use `RubyVM::InstructionSequence` or anything unde...
-
04:55 AM Feature #21005: Update the source location method to include line start/stop and column start/stop details
- mame (Yusuke Endoh) wrote in #note-12:
> tenderlovemaking (Aaron Patterson) wrote in #note-11:
> > I think we shoul... -
01:24 AM Feature #21005: Update the source location method to include line start/stop and column start/stop details
- > I think you are proposing adding the .node_for implementation to Prism?
Yes.
> To be more exact, I'm guessin... -
12:49 AM Feature #21005: Update the source location method to include line start/stop and column start/stop details
- Also just to be clear, I don't think the code I pasted above is _nice_ code, but it does work after the Prism bug is ...
-
12:40 AM Feature #21005: Update the source location method to include line start/stop and column start/stop details
- It seems like a very similar solution to what @mame is proposing was merged at one point as Feature #14836. It seems...
-
04:49 PM Revision e0d600ec (git): Avoid opt_aset_with optimization inside multiple assignment
- Previously, since the opt_aset_with optimization was introduced,
use of the opt_aset_with optimization inside multipl... -
04:17 PM Revision e7281700 (git): [ruby/rdoc] Finalize RDoc::Options before calling
- RDoc::RDoc#parse_files
(https://github.com/ruby/rdoc/pull/1274)
Commit https://github.com/ruby/rdoc/commit/6cf6e1647... -
02:36 PM Feature #21000: A way to avoid loading constant required by a type check
- Eregon (Benoit Daloze) wrote in #note-12:
> Maybe a new method or kwarg to `const_get` which has some special behavi... -
09:55 AM Feature #21000: A way to avoid loading constant required by a type check
- IMO the pattern is not frequent enough to justify adding new syntax for this or breaking compatibility.
In https://p... -
01:46 AM Feature #21000: A way to avoid loading constant required by a type check
- If you just want to avoid repetition and don't care autoload, I found a good (and magical) way to do it.
```ruby
... -
02:11 PM Revision 62a15280 (git): Pass allocation size to rb_imemo_new
- This would allow imemo to take advantage of VWA and allocate sizes larger
than RVALUE (40 bytes). -
12:35 PM Bug #21018 (Closed): Show invalid command line option more properly
- Currently the invalid command line option character is printed as-is.
This makes the error message confusing somet... -
09:41 AM Bug #21017 (Closed): `--with-parser=parse.y` configure option does not work
- Applied in changeset commit:git|051af9529b03c11aff8f6a09522c69983e3a9d72.
----------
[Bug #21017] Fix `--with-parser... -
08:15 AM Bug #21017 (Closed): `--with-parser=parse.y` configure option does not work
-
08:26 AM Revision 051af952 (git): [Bug #21017] Fix `--with-parser` configure option
- 08:12 AM Revision 3c3bde64 (git): Update bundled gems list at ad5fa24e84be97212ef2d876308602 [ci skip]
-
08:12 AM Revision ad5fa24e (git): Skip examples related with OpenStruct in ruby/spec
-
08:12 AM Revision a4528f60 (git): Omit Psych_Unit_Tests if ostruct is not available
-
08:12 AM Revision 599a0601 (git): Switch to use ostruct to open3 with suggestion test
-
08:12 AM Revision 9f5ca633 (git): Refactor to omit JSON::GenericObject tests
-
08:12 AM Revision 6bff923d (git): Rewrite OpenStruct to dummy response class
-
08:12 AM Revision 4da545dd (git): Use erb instead of ostruct for test_frozen_loaded_features
-
08:12 AM Revision 574bfd28 (git): Update documents for ostruct
-
08:12 AM Revision adb4029b (git): Removed logger from stub data
-
08:12 AM Revision 32fb364d (git): Replace target list with stub constants at example of bundled_gems.rb
-
08:12 AM Revision 5f4be3ad (git): Make ostruct as bundled gems
-
08:12 AM Revision d722bdcf (git): Convert ostruct to openstruct
-
07:56 AM Misc #21009: Removed old archives from top-level of cache.ruby-lang.org.
- I think we can remove `snapshot-master.tar.bz2` in <https://cache.ruby-lang.org/pub/ruby/snapshot/> too.
`snapshot... -
06:13 AM Feature #21015: Add in a `-g` flag, like `-s` but with a few more quality of life features
- For the record, I love this and want it very badly.
I advocated for `-ss` to mean "an extension of `-s`", much lik... -
02:22 AM Feature #21015: Add in a `-g` flag, like `-s` but with a few more quality of life features
- sampersand2 (Sam Westerman) wrote:
> # Prior art
> (TODO) Perl has `-s`, and it works like Ruby's `-s`. IDK of any ... -
01:50 AM Feature #21015 (Open): Add in a `-g` flag, like `-s` but with a few more quality of life features
- Add in a `-g` flag, like `-s` but with a few more QOL features
## TL;DR
([PR](https://github.com/ruby/ruby/pull/1... -
05:13 AM Bug #21011 (Closed): Constant massign segfaults in parse.y with shareable_constant_value: experimental_everything
- Applied in changeset commit:git|b81db531b24a6824bf5b89d8460baed5d5418835.
----------
[Bug #21011] `nd_value` is NULL... -
02:52 AM Bug #21011: Constant massign segfaults in parse.y with shareable_constant_value: experimental_everything
- Even with prism:
```ruby
# shareable_constant_value: experimental_everything
A, = ""
p A.frozen? #=> false
```... -
05:11 AM Revision 3e6f5ead (git): Reapply "Suppress WIN32OLE deprecation warnings for the time being"
- Revert the part of commit 10917c5cc026f839a3dcd072b6e274eed211d0f7,
"Update to ruby/spec@18032a7", that discarded the... -
04:55 AM Bug #20992 (Closed): `eval(ascii_encoded_code)` raises EncodingError when multibyte local variable exists
- Applied in changeset commit:git|1a06bee027d5c5b65ed0aaee76ee0040554d4efd.
----------
Do not intern invalid symbols i... -
04:26 AM Revision b81db531 (git): [Bug #21011] `nd_value` is NULL in massign
-
03:30 AM Revision 1a06bee0 (git): Do not intern invalid symbols in eval parse
- When the inner code cannot represent the name of the locals in the
outer code, do not bother putting them into the co... -
03:11 AM Bug #21016: What should massign with `shareable_constant_value: experimental_everything` freeze?
- Yeah we found this when we were building prism (https://bugs.ruby-lang.org/issues/20340). I don't know what the expec...
-
02:56 AM Bug #21016 (Closed): What should massign with `shareable_constant_value: experimental_everything` freeze?
- Derived from #21011.
Even with prism:
```ruby
# shareable_constant_value: experimental_everything
A, = ""
p ... -
02:55 AM Revision 27c9ccb3 (git): Also stub-out with directry using with test script or -e option
-
02:55 AM Revision 4a02a72c (git): Dont't use stub constants like LIBDIR in bundled_gems.rb
-
02:55 AM Revision aaf36f4f (git): Use heredoc to script runner for another ruby process
-
01:48 AM Revision 18f756e4 (git): Remove unnecessary semantic actions
- If you don’t specify an action for a rule, Lrama supplies a default: `$$ = $1`.
-
01:46 AM Revision 76759003 (git): Introduce macro for creating child iseqs with callbacks
- Use macro like `NEW_ISEQ` and `NEW_CHILD_ISEQ`.
-
01:08 AM Bug #21014 (Closed): Prism doesn't set node_id on iseqs correctly
- Applied in changeset commit:git|63723c8d5908569918fb27e070ae5bc9de33c8bd.
----------
Correctly set node_id on iseq l... -
12:36 AM Bug #21014: Prism doesn't set node_id on iseqs correctly
- Fix sent here: https://github.com/ruby/ruby/pull/12527
-
12:35 AM Bug #21014 (Closed): Prism doesn't set node_id on iseqs correctly
- Given this code:
```ruby
f = proc { <<END }
heredoc
END
iseq = RubyVM::InstructionSequence.of(f)
p iseq.t... -
01:08 AM Revision 63723c8d (git): Correctly set node_id on iseq location
- The iseq location object has a slot for node ids. parse.y was correctly
populating that field but Prism was not. Thi... -
12:36 AM Bug #21010 (Closed): Endless method definition of `[]=` is SyntaxError in parse.y but allowed in Prism
-
12:00 AM Bug #21013 (Closed): Backport request for YJIT fix for `yield` with keyword arguments
- GitHub PR: https://github.com/ruby/ruby/pull/12525
The patch applies cleanly.
Programs like the following used to...
01/07/2025
-
10:17 PM Revision 4a78d740 (git): [ruby/mmtk] Remove unused Ruby SHA reference in Cargo.toml
- https://github.com/ruby/mmtk/commit/02b9439ea6
-
08:28 PM Feature #21005: Update the source location method to include line start/stop and column start/stop details
- > But if we decide with returning a new class, instead of just retunring a longer array, I think the better API would...
-
08:04 PM Feature #21005: Update the source location method to include line start/stop and column start/stop details
- > Ugh, yes. What about [keyword argument] instead?
I think it may be a bit much.
But if we decide with returnin... -
03:23 PM Feature #21005: Update the source location method to include line start/stop and column start/stop details
- **Yusuke**: I went hunting for the `Prism.node_for` method/documentation but couldn't find it. If I understand you co...
-
11:12 AM Feature #21005: Update the source location method to include line start/stop and column start/stop details
- > I think adding end line and start/end columns is a straightforward and compatible extension of source_location.
... -
08:51 AM Feature #21005: Update the source location method to include line start/stop and column start/stop details
- I read the use case for #20999.
In short, by the following DSL,
```ruby
class Demo
include Initable[[:key, ... -
08:15 PM Bug #21012: Compiling `a['a','b'],=1` with parse.y fails
- From testing some historical versions on my system:
For: `a['a','b'],=1`
* Ruby 1.9-2.5: No segfault, looks to ... -
06:43 PM Bug #21012 (Closed): Compiling `a['a','b'],=1` with parse.y fails
- Compiling this code with parse.y fails with segmentation fault.
~~~ruby
a['a','b'],=1
~~~
Compiling `a['a',x],=... -
07:35 PM Revision ad96c5a7 (git): [ruby/prism] Throw syntax error for endless method with `[]=`
- Prism shoudld throw a syntax error for endless methods when the method
name uses brackets. Previously it would not. T... -
07:21 PM Bug #21010: Endless method definition of `[]=` is SyntaxError in parse.y but allowed in Prism
- Fixed in https://github.com/ruby/prism/pull/3377
-
02:44 PM Bug #21010 (Closed): Endless method definition of `[]=` is SyntaxError in parse.y but allowed in Prism
- These codes is SyntaxError in parse.y but accepted in Prism
~~~ruby
def []=(k,v)=1
def obj.[]=(k,v)=1
~~~
Thes... -
06:43 PM Feature #21000: A way to avoid loading constant required by a type check
- After some further thought, I believe the fourth idea could work if autoload constants simply returned "constant". Be...
-
04:25 PM Feature #21000: A way to avoid loading constant required by a type check
- Dan0042 (Daniel DeLorme) wrote in #note-8:
> I hadn’t accounted for how `defined?` should behave with an autoloaded c... -
03:56 PM Feature #21000: A way to avoid loading constant required by a type check
- mame (Yusuke Endoh) wrote in #note-7:
> When you create a ticket, please state clearly the problem you wish to solve.... -
10:18 AM Feature #21000: A way to avoid loading constant required by a type check
- When you create a ticket, please state clearly the problem you wish to solve.
Here is my understanding. You see *t... -
06:22 PM Bug #21011 (Closed): Constant massign segfaults in parse.y with shareable_constant_value: experimental_everything
- This code segfaults with parse.y
~~~ruby
# shareable_constant_value: experimental_everything
A,=1
~~~
~~~
$ r... -
04:01 PM Revision d0f9f3e2 (git): Remove IMEMO_DEBUG
- The code path hasn't compiled for almost a year, since 330830dd1a44b6e497250a14d93efae6fa363f82,
so probably nobody u... -
03:57 PM Revision b9d29912 (git): [ruby/reline] Update to Unicode 16.0.0
- (https://github.com/ruby/reline/pull/803)
https://github.com/ruby/reline/commit/24e6128676 -
03:37 PM Revision 2b713f08 (git): [ruby/mmtk] Bump mmtk-core version
- https://github.com/ruby/mmtk/commit/0de72c03ba
-
02:44 PM Bug #20978: Ractor[]/Thread[]/Fiber[] behavior difference
- > Why would anyone want to use strings for this API, if it's going to be converted to Symbol internally anyway and so...
-
02:28 PM Bug #20978: Ractor[]/Thread[]/Fiber[] behavior difference
- IIRC it was actually intentional to only allow symbols, as this makes it much more feasible to e.g. represent Fiber s...
-
02:25 PM Revision 60f235ab (git): [ruby/prism] Move a parser translator test to a known failure
- That issue is exactly about what this test file contains:
A single-quoted heredocs with backslashes
https://github.c... -
02:25 PM Feature #20878: A new C API to create a String by adopting a pointer: `rb_enc_str_adopt(const char *ptr, long len, long capa, rb_encoding *enc)`
- > > Is there a real-world use case to make a String with a pointer allocated outside of xmalloc?
> I don't personall... -
09:44 AM Feature #20878: A new C API to create a String by adopting a pointer: `rb_enc_str_adopt(const char *ptr, long len, long capa, rb_encoding *enc)`
- > It need not only free function but also realloc function
Maybe I wasn't clear, but I my suggestion is to only us... -
08:23 AM Feature #20878: A new C API to create a String by adopting a pointer: `rb_enc_str_adopt(const char *ptr, long len, long capa, rb_encoding *enc)`
- Thanks for the benchmark. I briefly talked about this with @nobu, @akr, and @ko1.
The approach of passing a pointe... -
11:30 AM Revision 271cdb3c (git): Quarantine failing new specs that require investigation
-
11:30 AM Revision 10917c5c (git): Update to ruby/spec@18032a7
-
10:36 AM Bug #20998: rb_str_locktmp() changes flags of frozen strings and string literals
- > It seems clearly wrong that two threads using Zlib with a frozen String literal (which happens to have the same con...
-
06:17 AM Bug #20929 (Open): TestTime have an assertion different from current implementation.
-
06:12 AM Feature #20960 (Third Party's Issue): Support building OpenSSL for Ruby with AWS-LC
- We moved to discuss this on https://github.com/ruby/openssl/issues/833
-
06:10 AM Feature #20818 (Feedback): Allow passing a block to Hash#store (to update current value)
-
05:52 AM Misc #21009 (Closed): Removed old archives from top-level of cache.ruby-lang.org.
- https://cache.ruby-lang.org/pub/ruby/ has `ruby-1.8` to `ruby-2.6` and old versions of snapshot built by 2020.
Tha... -
04:50 AM Bug #21008 (Closed): Array#sum, Enumerator#sum, Numeric subclass
- Applied in changeset commit:git|b176d4f52e4af67654814dab3e9c5f4bf9170e54.
----------
[Bug #21008] Normalize before s... -
02:50 AM Bug #21008: Array#sum, Enumerator#sum, Numeric subclass
- https://github.com/ruby/ruby/pull/12522
-
04:29 AM Revision 36d5e2d8 (git): [DOC] Fix `exclude:` as regexps
-
04:21 AM Revision f756950d (git): Improve lookup tables for string escaping.
- Introduce a simplified table for the most common case, which is
`script_safe: false, ascii_only: false`.
On the `scr... -
02:38 AM Revision b176d4f5 (git): [Bug #21008] Normalize before sum to float
- After switching to `Float`-mode when summing `Numeric` objects,
normalization for `Float` is still needed. -
12:56 AM Revision e9593eb9 (git): [DOC] Fix an error example
- `%q{c}` after another string literal is parsed as RHS of modulo, `q`
method call with a block. - 12:53 AM Revision be4567e1 (git): [ruby/rdoc] Add missing `RDoc::RubygemsHook` API for `gem server`
- (https://github.com/ruby/rdoc/pull/1270)
This PR fixes https://github.com/ruby/rdoc/pull/1269.
## Expected Behavior...
01/06/2025
-
11:20 PM Bug #21008 (Closed): Array#sum, Enumerator#sum, Numeric subclass
- The following code seems to show a bug or 'quirk'. When using a Numeric subclass, `Array#sum` works correctly, but `...
-
11:00 PM Revision 9bbcbc3f (git): glibc and musl didn't provide A1-A7, FP and S3-S8 constants.
- * https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/unix/sysv/linux/loongarch/sys/ucontext.h
* https://git.mus... -
10:56 PM Revision 89c505dc (git): Move string escape sequence documention further down
- If someone looks at documention for strings,
I don't think escape sequences is what they look
for in majority of the ... -
10:56 PM Revision b0d291ec (git): Fix link to strings in literals.rdoc
- Since https://github.com/ruby/ruby/commit/5e1001f754b34e1f0cc67563512c6036b6eb75ab, the string link is broken
Instea... -
10:34 PM Bug #21007: Ractor scheduler issue when multiple threads in a ractor
- PR here: https://github.com/ruby/ruby/pull/12521
Edit: This is getting fixed by a separate PR because someone else n... -
10:13 PM Bug #21007 (Closed): Ractor scheduler issue when multiple threads in a ractor
- When there are multiple threads in a ractor, these threads can get in a state where they are yielding every 10ms inst...
-
10:18 PM Revision b3de2c33 (git): Use `ISEQ_BODY(iseq)` instead of `iseq->body`
- trivial change that unifies the format for access.
-
10:17 PM Revision de8deb5f (git): Remove unused token definitions for `tRPAREN` in Ripper and parser files
-
09:55 PM Bug #20905: Ruby VM hangs while using ractors
- I took a look at this, and it occurs due to an issue in the ractor and thread scheduler. Sometimes a ractor is not en...
-
08:20 PM Feature #21005: Update the source location method to include line start/stop and column start/stop details
- Yeah, eager to see what the consensus on this becomes from the next dev meeting.
I like the idea of a `Ruby::SourceL... -
02:39 PM Feature #21005: Update the source location method to include line start/stop and column start/stop details
- I think adding end line and start/end columns is a straightforward and compatible extension of `source_location`.
I w... -
08:06 PM Bug #21006 (Closed): `defined?((receiver).method)` raises Stack consistency error
- Applied in changeset commit:git|8fb17f86d7ef2a84f82c83a9509e311a07aa93fc.
----------
[Bug #21006] Fix defined_expr c... -
07:19 PM Bug #21006: `defined?((receiver).method)` raises Stack consistency error
- https://github.com/ruby/ruby/pull/12518
-
07:17 PM Bug #21006 (Closed): `defined?((receiver).method)` raises Stack consistency error
- ~~~
$ ruby -ve "defined?((foo).bar)"
ruby 3.4.1 (2024-12-25 revision 48d4efcb85) +YJIT +MN +PRISM [arm64-darwin22]
... -
08:06 PM Revision 8fb17f86 (git): [Bug #21006] Fix defined_expr compilation of method call with parenth… (#12518)
- [Bug #21006] Fix defined_expr compilation of method call with parenthesized receiver
-
07:21 PM Revision 5698f4f2 (git): [ruby/reline] Enter newline if cursor position is middle of input
- (https://github.com/ruby/reline/pull/802)
* Enter newline if cursor position is middle of input
* Add ed_force_subm... -
06:18 PM Bug #21001 (Closed): unexpected nil result from proc with ensure and next
- Applied in changeset commit:git|31905d9e23ec6d1fa2a52f1ef2533f2056e7c9fb.
----------
Allow escaping from ensures thr... -
06:18 PM Revision 31905d9e (git): Allow escaping from ensures through next
- Fixes [Bug #21001]
-
05:07 PM Revision a61c16ba (git): [ruby/openssl] pkey: simplify X25519/Ed25519 test cases
- When these test cases were written, we did not know the exact OpenSSL
and LibreSSL version number in which they would... -
05:07 PM Revision 3da85010 (git): [ruby/openssl] pkey: fix test case for new_raw_*key
- Method names must start with "test_" to run.
https://github.com/ruby/openssl/commit/fed9d09b76 -
05:07 PM Revision ff708f86 (git): [ruby/openssl] pkey/ec: use heredoc for invalid key example in test cases
- test/openssl/fixtures/pkey/p256_too_large.pem and p384_invalid.pem are
invalid keys where the encoded public key does... -
05:07 PM Revision f0095413 (git): [ruby/openssl] x509cert: simplify test cases for Certificate.load_file
- Remove files from test/openssl/fixtures/pkey/ which are not pkeys.
The test cases for OpenSSL::X509::Certificate.load... -
02:41 PM Misc #20949: DevMeeting-2025-01-09
- * [Feature #21005] Update the source location method to include line start/stop and column start/stop details (eregon...
-
02:32 PM Feature #21000: A way to avoid loading constant required by a type check
- While these semantics make a certain sense, the opposite also makes just as much sense. If `Foo` is not yet autoloade...
-
02:26 PM Feature #21000: A way to avoid loading constant required by a type check
- I'm unsure, I suppose it could be a compatibility concern.
If you want to know if `Foo::Bar` exists and `Foo` is an a... -
01:32 PM Feature #21000: A way to avoid loading constant required by a type check
- Eregon (Benoit Daloze) wrote in #note-2:
> So `defined?(Foo::Bar)` will actually try to load `Foo`.
It would be a... -
09:40 AM Feature #21000: A way to avoid loading constant required by a type check
- `defined?` so far always returned `nil` or frozen strings, so I think it's not so great to use for this.
Also `defin... -
02:17 AM Feature #21000: A way to avoid loading constant required by a type check
- Dan0042 (Daniel DeLorme) wrote:
> ### defined?(mod) returns mod if it's a class/module
>
> If XYZ is a module, `d... -
02:04 PM Revision 5412501e (git): [ruby/openssl] pkey: Use openssl generated pkcs8 key instead
- https://github.com/ruby/openssl/commit/6a6fac9958
-
12:45 PM Bug #20998: rb_str_locktmp() changes flags of frozen strings and string literals
- https://github.com/ruby/ruby/blob/975461bf885b8fb791cf048ad39c79924d28e4e9/ext/zlib/zlib.c#L1056 but I'm not quite su...
-
12:37 PM Bug #20998: rb_str_locktmp() changes flags of frozen strings and string literals
- @byroot but that's mutating the string, @nobu is asking for a case not mutating the string, which I think there is no...
-
09:56 AM Bug #20998: rb_str_locktmp() changes flags of frozen strings and string literals
- Actually yes, I think it's not an uncommon use case?
e.g. if you need to write a given string into a socket or som... -
09:34 AM Bug #20998: rb_str_locktmp() changes flags of frozen strings and string literals
- I'm not aware of any such case, and `.freeze` seems much better for that use case.
-
02:21 AM Bug #20998: rb_str_locktmp() changes flags of frozen strings and string literals
- There isn’t a case that locking a string just to avoid being modified or moved, but not to mutate it?
-
11:17 AM Revision 975461bf (git): Remove SYM2ID for Parser
- Ruby Parser not used SYM2ID.
And sym2id property can be removed from Universal Parser. -
10:49 AM Revision e0591b66 (git): Launchable: Exit 0 not to stop CI pipeline (#12449)
-
10:48 AM Bug #21002: Please include license information of turbo_tests
- I fixed this at https://github.com/ruby/ruby/commit/668701cb0b42f27c5f54309a358c6fcbb24b5d85
-
10:27 AM Bug #21002 (Closed): Please include license information of turbo_tests
-
05:35 AM Bug #21002 (Assigned): Please include license information of turbo_tests
-
09:41 AM Feature #20999 (Rejected): Add RubyVM object source support
-
09:39 AM Revision 54bd5e03 (git): Try to update the latest version of vcpkg
-
09:39 AM Revision 49d8384e (git): Update vcpkg baseline with latest version
- ```
libffi:[email protected]
libyaml:[email protected]#5
openssl:[email protected]
* vcpkg-cmake:x64-wi... -
09:11 AM Revision 668701cb (git): Added copyright for vendored turbo_tests.
- [Bug #21002]
- 07:19 AM Revision 70decc85 (git): [rubygems/rubygems] Update SPDX license list as of 2024-12-30
- https://github.com/rubygems/rubygems/commit/42aaaff15c
- 06:41 AM Revision 7ec233c8 (git): Fix typo for private constant in Socket
- Signed-off-by: Raul Gutierrez Segales <[email protected]>
-
01:51 AM Bug #20977 (Closed): backtick is used for syntax errors related to 'it'
- 01:50 AM Revision c8e3d745 (git): Use a single quote instead of a backtick for error messages
- Fix https://bugs.ruby-lang.org/issues/20977
- 01:20 AM Revision 8a9f1e60 (git): [ruby/logger] Provide a 'Changelog' link on rubygems.org/gems/logger
- By providing a 'changelog_uri' in the metadata of the gemspec a
'Changelog' link will be shown on https://rubygems.or... - 01:19 AM Revision 80b01cc5 (git): [ruby/net-http] Provide a 'Changelog' link on rubygems.org/gems/net-http
- By providing a 'changelog_uri' in the metadata of the gemspec a
'Changelog' link will be shown on https://rubygems.or... - 01:19 AM Revision ce09b43a (git): [ruby/ostruct] Provide a 'Changelog' link on rubygems.org/gems/ostruct
- By providing a 'changelog_uri' in the metadata of the gemspec a
'Changelog' link will be shown on https://rubygems.or... - 01:19 AM Revision 3b659457 (git): [ruby/securerandom] Provide a 'Changelog' link on rubygems.org/gems/securerandom
- By providing a 'changelog_uri' in the metadata of the gemspec a
'Changelog' link will be shown on https://rubygems.or... - 12:57 AM Revision e817d155 (git): Update default gems list at 2a1cff40f5e7875f69a7d0ed59eab9 [ci skip]
-
12:56 AM Bug #21003 (Closed): unexpected warning about ignored block
- Applied in changeset commit:git|2a1cff40f5e7875f69a7d0ed59eab92cc86c65ff.
----------
Do not warn unused block when u... -
12:56 AM Revision 2a1cff40 (git): Do not warn unused block when using forwarding
- Fixes [Bug #21003]
01/05/2025
-
09:07 PM Feature #20999: Add RubyVM object source support
- **Kevin**: Thanks and thanks for reminding of `RubyVM::InstructionSequence.of().script_lines`. I'm using that as a fa...
-
02:06 PM Feature #20999: Add RubyVM object source support
- bkuhlmann (Brooke Kuhlmann) wrote in #note-2:
> Nice. So -- to return to my question above -- should I open an issue... -
09:06 PM Feature #6012: Proc#source_location also return the column
- 💡 Please see [Feature 21005](https://bugs.ruby-lang.org/issues/21005) as an evolution of this discussion based on fee...
-
02:05 PM Feature #6012: Proc#source_location also return the column
- One idea for this new SourceLocation/CodeLocation class would be under the new `Ruby` module, see https://bugs.ruby-l...
-
09:00 PM Feature #21005 (Open): Update the source location method to include line start/stop and column start/stop details
- ## Why
👋 Hello. After discussing with Kevin Newton and Benoit Daloze in [Feature 20999](https://bugs.ruby-lang.org... -
06:12 PM Revision c037f5a2 (git): [ruby/prism] Fix parser translator ast for heredoc with written newlines
- Heredocs that contain "\\n" don't start a new string node.
https://github.com/ruby/prism/commit/61d9d3a15e -
06:05 PM Revision 179e2cfa (git): [ruby/prism] Fix global variable read off end
- https://github.com/ruby/prism/commit/3f2c34b53d
-
04:04 PM Revision 22e9fa81 (git): gc/default/default.c: don't call `malloc_usable_size` when hint is present
- Depending on the allocator, `malloc_usable_size` may be very cheap or quite
expensive. On `macOS` for instance, it's ... -
02:40 PM Revision 37361d87 (git): [DOC] Tweaks for Hash.new (#12503)
-
01:52 PM Misc #20949: DevMeeting-2025-01-09
- * [Feature #20993] Allow `class <constant-path> = <expression>` syntax (byroot)
* Useful for defining `Struct` and... -
12:41 PM Revision e45fca13 (git): [ruby/rdoc] [DOC] Remove unnecessary rdoc-ref missing example
- (https://github.com/ruby/rdoc/pull/1271)
We don't actually need to link to the missing item to show the non-linked
r... - 09:42 AM Revision 9552bd59 (git): Sync IRB to 3e6c12b (#12486)
- Sync IRB to 3e6c12b174c0a961d8065eae22f6c4afc7b2c3e8
-
06:57 AM Revision a70206c4 (git): [ruby/reline] Refactor utf-8 strings and invalid strings in test
- code
(https://github.com/ruby/reline/pull/800)
* Remove invalid encoding string "\M-[char]" from test code, remove u... -
06:45 AM Feature #20498: Negated method calls
- MaxLap wrote:
> Which I hope no one writes
For instance, at:
foo&.empty?&.!
I would not write that my... -
06:32 AM Feature #20770: A *new* pipe operator proposal
- Personally I do not think I would need this feature (I share mame's opinion here), but what has not yet been pointed ...
-
04:57 AM Revision 9a156726 (git): [ruby/reline] Fix bracketed paste and scrolling bug
- (https://github.com/ruby/reline/pull/801)
* Fix set_pasting_state bug with bracketed paste
* Fix rendered cursor_y ... -
12:17 AM Bug #21003: unexpected warning about ignored block
- memo) This does not occur even in Ruby 3.4.1 when `--parser=parse.y`.
```
❯ ruby --parser=parse.y -e '$VERBOSE = ... -
12:14 AM Bug #21001: unexpected nil result from proc with ensure and next
- memo) This does not occur even in Ruby 3.4.1 when `--parser=parse.y`.
```
❯ ruby --parser=parse.y -e 'puts "Ruby: #{... -
12:06 AM Bug #21004 (Closed): Memory leak with `new_locations_lambda_body`
- Applied in changeset commit:git|dfc9e978fba886d9a9175534551b1fc7b4d22abd.
----------
[Bug #21004] Fix memory leak wi... -
12:06 AM Revision dfc9e978 (git): [Bug #21004] Fix memory leak with "it" in parse.y
- Parsing `-> do it end` in parse.y leaks memory. We can see this in the
Valgrind output:
56 bytes in 1 blocks are... -
12:06 AM Revision 78d7dde2 (git): Remove unused loc in rb_locations_lambda_body_t
01/04/2025
-
10:53 PM Revision 9d7ba784 (git): Suppress warnings for flip-flop in test_ast.rb
- There are warnings emitted from test_flip2_locations and test_flip3_locations.
This commit changes ast_parse to suppr... -
10:04 PM Bug #21004: Memory leak with `new_locations_lambda_body`
- I have a fix here: https://github.com/ruby/ruby/pull/12508
-
08:55 PM Bug #21004 (Closed): Memory leak with `new_locations_lambda_body`
- You can find the valgrind output here: https://github.com/ruby/prism/actions/runs/12613463262/job/35151355503?pr=3363...
-
08:14 PM Feature #20999: Add RubyVM object source support
- > Should a different issue be opened for this?
Yeah, I would say make that a new issue for expanding `source_locat... -
05:53 PM Revision c71addc5 (git): YJIT: Fix crash when yielding keyword arguments
- Previously, the code for dropping surplus arguments when yielding
into blocks erroneously attempted to drop keyword a... -
05:53 PM Revision 37356b71 (git): YJIT: Add crashing test for yielding keyword args
- Code like the following is crashing for us on 3.4.1:
```ruby
def a(&) = yield(x: 0)
1000.times { a { |x:| x } }
```... -
01:41 PM Bug #21003 (Closed): unexpected warning about ignored block
- I stumbled upon this during the upgrade to 3.4. Here's the minimal repro:
```ruby
$VERBOSE = true
def foo(*, &bl... -
11:27 AM Revision c9366994 (git): Implement FLIP3 NODE locations
-
11:27 AM Revision 24653430 (git): Implement FLIP2 NODE locations
-
11:27 AM Revision 61c49074 (git): Implement DOT3 NODE locations
-
11:27 AM Revision 88da6856 (git): Implement DOT2 NODE locations
-
09:59 AM Revision a1f010b8 (git): Use user defined parameterizing rules `compstmt(stmts)`
-
09:58 AM Revision bb66b42a (git): Use user defined parameterizing rules `op_asgn(rhs)`
-
09:58 AM Revision 2efa7809 (git): Use user defined parameterizing rules `def_endless_method(bodystmt)`
-
09:58 AM Revision 4fa68953 (git): Use user defined parameterizing rules `asgn(lhs, rhs)`
-
09:07 AM Revision 1e330dd5 (git): Use `p_primitive_value`
-
09:07 AM Revision f00c5102 (git): Use `command_call_value`
-
09:07 AM Revision 0eb63c41 (git): Use user defined parameterizing rules `value_expr`
-
09:04 AM Revision 7124c34f (git): Remove unused `FIXNUM_OR` macro from compile.c
- This PR remove unused FIXNUM_OR macro from compile.c
before:
```
❯ git grep 'FIXNUM_OR'
compile.c:#define FIXNUM_OR(... - 06:58 AM Revision 9ebfda07 (git): Update bundled gems list as of 2025-01-04
-
04:55 AM Revision f2454aa2 (git): Use user defined parameterizing rules `f_kw(value)`
-
04:53 AM Revision 5fcc3ab5 (git): Implement REGX NODE locations
- The following Location information has been added This is the information required for parse.y to be a universal pars...
-
04:52 AM Revision fa251745 (git): Implement LAMBDA NODE locations
- The following Location information has been added This is the information required for parse.y to be a universal pars...
Also available in: Atom