Activity
From 05/07/2024 to 05/13/2024
05/13/2024
-
10:45 PM Bug #20485 (Closed): Simple use of Fiber makes GC leak objects with singleton method
- No worries. This aspect of Ruby GC often confuses people.
-
09:35 AM Bug #20485: Simple use of Fiber makes GC leak objects with singleton method
- I tried looping with `100.times` in a more complex case that I created in the middle of the entire investigation of a...
-
08:47 AM Bug #20485: Simple use of Fiber makes GC leak objects with singleton method
- Alright, looking at your dump:
```json
{"address":"0x7f2b570455b8", "type":"CLASS", "shape_id":2, "slot_size":160... -
08:25 AM Bug #20485: Simple use of Fiber makes GC leak objects with singleton method
- I asked my co-workers to try this script and some of them gave me their results. The following table includes my resu...
-
06:40 AM Bug #20485: Simple use of Fiber makes GC leak objects with singleton method
- @skhrshin if you can reproduce consistently, what could be helpful would be to provide a heap dump like this (use som...
-
06:37 AM Bug #20485: Simple use of Fiber makes GC leak objects with singleton method
- To be honest I also tried 3.2.2 and 3.1.4, each with `[1].each`, `1.times` and `Mutex.new.synchronize`, and neither r...
-
06:24 AM Bug #20485 (Open): Simple use of Fiber makes GC leak objects with singleton method
-
06:18 AM Bug #20485: Simple use of Fiber makes GC leak objects with singleton method
- I closed because I tried your repro script with `ruby 3.3.1 (2024-04-23 revision c56cd86388) [arm64-darwin23]` both w...
-
04:33 AM Bug #20485: Simple use of Fiber makes GC leak objects with singleton method
- Do you mean this is fixed in trunk? Or are you saying this shouldn't happen on Ruby 3.3.1? If latter, that is not cor...
-
06:23 PM Misc #20488 (Closed): Document source file size restrictions
- I was hoping we might be able to decide on an official maximum size for a source file in terms of bytes/lines/columns...
-
06:04 PM Revision 5319587a (git): [rubygems/rubygems] Restore previous way of loading monitor
- I'm not sure why but this particular change seems to have introduced
some flaky test failures. So I'll revert it.
ht... -
06:04 PM Revision d1c172df (git): [rubygems/rubygems] Don't load `SharedHelpers` unnecessarily
- https://github.com/rubygems/rubygems/commit/de4650f629
-
06:04 PM Revision 22dab739 (git): [rubygems/rubygems] Don't depend on Pathname unnecessarily
- https://github.com/rubygems/rubygems/commit/8c8aaecc48
-
04:44 PM Misc #20436: DevMeeting at RubyKaigi 2024
- I asked Matz and here is a reordered agenda: https://hackmd.io/CoLraFp_QrqyHBcv3g8bVg?both
Many topics so we can't... -
05:48 AM Misc #20436: DevMeeting at RubyKaigi 2024
- * [Bug #20424] ZLib::GZipReader always double allocates strings when passed outbuf, significantly increasing memory u...
-
04:42 PM Bug #20478: Circular parameter syntax error rules
- I figured that was already happening for the "unused" warning.
-
04:31 PM Revision b5e53e2f (git): [ruby/prism] Rescue LoadError for ruby_parser as well
- https://github.com/ruby/prism/commit/d4eb13e703
-
04:29 PM Revision 5931f857 (git): [ruby/prism] Add error handling for missing `parser` gem in `Prism::Translation`
- Resolves https://github.com/ruby/prism/pull/2803.
This PR adds error handling for missing `parser` gem in `Prism::Tr... -
03:34 PM Revision e6340258 (git): [ruby/prism] Autoload newlines and comment visitors
- Having the @newline instance variable in every node adds up, and
since it is so rarely used, we only want to add it w... -
01:01 PM Revision 02c8e658 (git): [rubygems/rubygems] Use a constant empty tar header to avoid extra allocations
- https://github.com/rubygems/rubygems/commit/716666f65f
-
12:24 PM Bug #20487 (Rejected): 1..nil is giving range from 1 to inifinity in ruby greater than 2.6
- This is expected behavior. `nil` is the implicit end of an endless range:
```ruby
(1..) == (1..nil)
# => true
... -
12:18 PM Bug #20487 (Rejected): 1..nil is giving range from 1 to inifinity in ruby greater than 2.6
- we consider nil as undefined value, value that is not present, we consider nil as falsey value as well, when we do ni...
- 10:35 AM Revision 58801034 (git): [rubygems/rubygems] Use spec.base_dir to remove plugins
- The plugin loader from `@gem_home` was removed during uninstallation.
However, this could leave behind the plugins fo... -
10:35 AM Revision a86ad47c (git): [rubygems/rubygems] Improve plugin removal test
- Instead of unit testing the `remove_plugins` method, test the whole
removal process.
https://github.com/rubygems/rub... -
09:19 AM Revision 899568cc (git): [rubygems/rubygems] Fix error when Bundler installation is corrupted
- If one upgrades the default copy of Bundler through `gem update
--system`, and then reinstalls Ruby without removing ... -
09:08 AM Revision 69c87619 (git): [rubygems/rubygems] Avoid standard requires while loading shared helpers
- We should make sure Bundler does not trigger RubyGems require logic for
gem activation until it had the chance to reg... -
09:08 AM Revision e9262983 (git): [rubygems/rubygems] Require things right before they're needed
- https://github.com/rubygems/rubygems/commit/07022e3f2f
-
08:42 AM Bug #20486 (Third Party's Issue): Internal compiler error when compile CRuby with msys2-mingw64-gcc14
- "internal compiler error" means a bug of gcc.
We can do nothing for it. -
08:25 AM Bug #20486 (Third Party's Issue): Internal compiler error when compile CRuby with msys2-mingw64-gcc14
- Follow CRuby build guide in `https://github.com/ruby/ruby`
Some file like `numerc.c` whill produce a `internal compi... -
02:26 AM Feature #20484: A new pragma for eager resolution of classes referenced in rescue clauses.
- Eager resolution of referenced constants at parse time would be very painful in many case as it would add some extra ...
05/12/2024
-
11:26 PM Revision 3c16d93c (git): Constify encoding type in universal parser
- Fixed warning about discarding modifiers.
```
../src/ruby_parser.c:677:48: warning: passing 'rb_encoding *' (aka 'co... -
10:28 PM Bug #20485 (Closed): Simple use of Fiber makes GC leak objects with singleton method
- Looks like a duplicate of https://bugs.ruby-lang.org/issues/19436, fixed in Ruby 3.3 but can't really be backported.
-
09:09 AM Bug #20485: Simple use of Fiber makes GC leak objects with singleton method
- I confirmed that all of `1.times`, `[1].each` and `Mutex.new.synchronize` versions reproduce the problem on Ruby 3.2.4.
-
08:52 AM Bug #20485: Simple use of Fiber makes GC leak objects with singleton method
- Changing `1.times` to `[1].each` could reproduce the problem on Ruby 3.3.1 too.
-
08:46 AM Bug #20485: Simple use of Fiber makes GC leak objects with singleton method
- Update: To reproduce this issue with Ruby 3.3.1, Mutex is necessary.
-
06:09 AM Bug #20485: Simple use of Fiber makes GC leak objects with singleton method
- Update: Using Mutex was not necessary.
-
03:39 AM Bug #20485 (Closed): Simple use of Fiber makes GC leak objects with singleton method
- I found a possible memory leak which occurs only when several conditions are met.
The code to reproduce the proble... -
07:57 AM Feature #20484: A new pragma for eager resolution of classes referenced in rescue clauses.
- Honestly, it is no different than any name used in a branch that wasnโt tested. E.g. if you have this:
```ruby
if f... -
04:25 AM Feature #20484: A new pragma for eager resolution of classes referenced in rescue clauses.
- duerst (Martin Dรผrst) wrote in #note-1:
> Can you give an example with actual code to show where you get problems?
... -
02:13 AM Feature #20484 (Feedback): A new pragma for eager resolution of classes referenced in rescue clauses.
- Can you give an example with actual code to show where you get problems?
-
07:49 AM Feature #20483: More intuitive initialisation of null Range
- Whatโs the expected semantics of this range?
There can be several options. Note that the behavior should be consist... -
07:45 AM Bug #20482 (Closed): nil variables in a guard clause of a standalone => or in expression
- Applied in changeset commit:git|b911d2222f907d3fad397938e8f513ecfb4635b8.
----------
[Bug #20482] [DOC] Clarify abou... -
07:05 AM Bug #20482: nil variables in a guard clause of a standalone => or in expression
- Soilent (Konstantin x) wrote in #note-2:
> Thank you, nobu! That explains it.
>
> Just to clarify, is this how th... -
06:08 AM Bug #20482: nil variables in a guard clause of a standalone => or in expression
- Thank you, nobu! That explains it.
Just to clarify, is this how the expression is parsed?
```ruby
( [1, 2] in ... -
12:05 AM Bug #20482: nil variables in a guard clause of a standalone => or in expression
- One-line pattern matching can not have a guard clause, so the `if` in the first example is a modifier `if` and is eva...
-
07:23 AM Revision b911d222 (git): [Bug #20482] [DOC] Clarify about pattern maching guard clause
- Guard clauses can only be used in `case` pattern matching statements,
not in `=>`/`in` operators. -
06:49 AM Feature #20443: Allow Major GC's to be disabled
- I think that same concern applies to some existing `GC` methods (e.g. `GC.compact`, `GC.verify_compaction_reference`)...
-
06:38 AM Revision 5695c5df (git): ripper: Fix opassign when assignment to backref variables
-
06:36 AM Revision a1fb6cc9 (git): ripper: Use `$&` instead of quoting charaters in tests
-
05:40 AM Bug #20481 (Closed): Untrusted Marshal data can overwrite class/module instance variables
- Applied in changeset commit:git|8b9b150512b7b9514143a6b971992c9a539ead2f.
----------
[Bug #20481] Check for unmarsha... -
04:57 AM Revision 8b9b1505 (git): [Bug #20481] Check for unmarshaling ivar
- Prohibit setting instance variables of existing classes and modules
via link. -
04:55 AM Revision d9e6e6fb (git): [Bug #7759] Fix instance variable names to be checked
-
04:53 AM Revision 4edd9b07 (git): [ruby/irb] Clean up tmpdir
- https://github.com/ruby/irb/commit/7d60349499
-
03:57 AM Bug #20478: Circular parameter syntax error rules
- Even this should be a syntax error?
```ruby
def foo(bar = ->(baz = bar) {}) end
```
That means it needs to ma...
05/11/2024
-
09:41 PM Feature #20484 (Feedback): A new pragma for eager resolution of classes referenced in rescue clauses.
- I've been using Ruby for 20 years, and just today learned (the hard way) that the class name(s) referenced in a `resc...
-
06:12 PM Feature #20483 (Open): More intuitive initialisation of null Range
- Hi all ๐๐ป
I've come across cases where I want a method to return a Range. In some cases, the Range should be empty... -
04:45 PM Bug #20482 (Closed): nil variables in a guard clause of a standalone => or in expression
The following expression produces a TypeError, which is quite unexpected:
```ruby
[1, 2] in a, b if b == 2*a
```...-
04:21 PM Feature #20300: Hash: set value and get pre-existing value in one call
- mame (Yusuke Endoh) wrote in #note-24:
> It was originally intended as a method to improve the efficiency of `Set#... -
11:47 AM Revision 7e604a02 (git): Fix SEGV when ripper hits `backref_error` on `command_asgn` or `arg`
-
01:12 AM Bug #20481 (Closed): Untrusted Marshal data can overwrite class/module instance variables
- The following code snippet shows how class/module instance variables can be overwritten in Ruby. Checked on Ruby 3.3....
05/10/2024
-
05:19 PM Revision 68b6fe70 (git): [ruby/reline] Avoid STDIN.winsize called in `require "reline"`
- (https://github.com/ruby/reline/pull/703)
https://github.com/ruby/reline/commit/21891c47c4 - 05:10 PM Revision 3ec5a932 (git): Update default gems list at afdfff933fefa17a8ef12f791b7f36 [ci skip]
-
05:09 PM Revision afdfff93 (git): [PRISM] Bump to version 0.29.0
-
05:09 PM Revision 2e4f3739 (git): [PRISM] Enable passing argument forwarding tests
-
03:54 PM Revision 83f481eb (git): [ruby/prism] Enhance parameter forwarding error messages
- https://github.com/ruby/prism/commit/826657232e
-
03:48 PM Revision 955f1323 (git): [PRISM] Enable passing IRB tests
-
03:47 PM Revision 77b6c980 (git): [PRISM] Handle operator->binary_operator rename
-
03:47 PM Revision 2e446645 (git): [ruby/prism] operator rename
- https://github.com/ruby/prism/commit/b5e47f5c42
-
03:00 PM Misc #20436: DevMeeting at RubyKaigi 2024
- * [Misc #20238] Use prism for mk_builtin_loader.rb
* This was discussed at a previous dev meeting, but not everyon... -
02:47 PM Revision 34e0b5b2 (git): [ruby/prism] Fix tapioca require order
- https://github.com/ruby/prism/commit/15bf727881
-
01:58 PM Revision 2bc309e7 (git): [ruby/prism] Fix RBS outside of prism
- https://github.com/ruby/prism/commit/ee73ad757f
-
01:44 PM Bug #20478: Circular parameter syntax error rules
- Yes, I very much think they should all be syntax errors.
-
07:48 AM Bug #20478: Circular parameter syntax error rules
- Given that these `Proc`s are only created if the argument `bar` is not assigned, should they all be syntax errors?
-
01:40 PM Revision 3f664c37 (git): [ruby/prism] Prism::CallNode#full_message_loc
- https://github.com/ruby/prism/commit/fa6fe9be84
-
11:40 AM Revision c68bb240 (git): [ruby/irb] Add a new initialization step to validate IRB.conf's
- values
(https://github.com/ruby/irb/pull/953)
Currently, users can only find out that they have set a wrong value
fo... -
10:53 AM Bug #20480: Complie failure for unable to configure NET_LUID using msys2 mingw64-gcc
- nobu (Nobuyoshi Nakada) wrote in #note-1:
> Could you share `AC_CHECK_TYPE([NET_LUID], ...)` part in your config.log?... -
09:31 AM Bug #20480: Complie failure for unable to configure NET_LUID using msys2 mingw64-gcc
- Could you share `AC_CHECK_TYPE([NET_LUID], ...)` part in your config.log?
-
08:34 AM Bug #20480 (Open): Complie failure for unable to configure NET_LUID using msys2 mingw64-gcc
- Master commit:`2f915e729ac8c66f4009f4b28a57773923d7e7d1`
NET_LUID is not successfully checked in win32 configure.
... -
09:39 AM Revision 69d0a3b0 (git): [ruby/irb] Simplify regexp to account for prism error messages
- (https://github.com/ruby/irb/pull/954)
https://github.com/ruby/irb/commit/e0c29be074
Co-authored-by: Stan Lo <stan0... -
04:54 AM Revision 2f915e72 (git): [PRISM] Enable passing test_string
-
04:54 AM Revision 346f7bf3 (git): [ruby/prism] Fix escaping control+x
- https://github.com/ruby/prism/commit/0f0b4c1161
- 03:16 AM Revision f53b46e9 (git): Bump ossf/scorecard-action from 2.3.1 to 2.3.3
- Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.3.1 to 2.3.3.
- [Release notes](https:... -
12:55 AM Revision fd2876e6 (git): Update ASAN docs to refer to Clang 18's release
- Clang 18 has the bugfix we need, so we no longer need to tell people to
compile Clang from source.
05/09/2024
-
08:29 PM Feature #20443: Allow Major GC's to be disabled
- matz (Yukihiro Matsumoto) wrote in #note-12:
> I am neutral on this proposal. However, I am concerned that there may... -
12:56 PM Feature #20443: Allow Major GC's to be disabled
- I am neutral on this proposal. However, I am concerned that there may not be a Major GC when GC made pluggable.
Ma... -
07:39 PM Bug #20479: Ensure line number in begin...end in method
- It's only visible if you manually `RubyVM::InstructionSequence.compile` and then specifically ask an ensure ISEQ for ...
-
01:20 AM Bug #20479: Ensure line number in begin...end in method
- Is the line number in NODE_ENSURE visible to the user?
When I introduced node location, I wanted to match the line... -
01:46 PM Feature #20415: Precompute literal String hash code during compilation
- So there's pretty much only two `yjit-bench` benchmarks on which it makes a visible difference `rack` and `liquid-c`,...
-
12:54 PM Feature #20415: Precompute literal String hash code during compilation
- > Is using a string literal as a hash key very common?
It's quite common in a few places, e.g. Active Record attr... -
12:48 PM Feature #20415: Precompute literal String hash code during compilation
- The benchmark seems great. But I'm not yet sure if this is worth the hustle. Is using a string _literal_ as a hash ...
-
01:38 PM Revision 444030fc (git): [PRISM] Enable passing tests
-
10:37 AM Revision 74c911df (git): Add a ruby_bug spec for String#index clearing $~
- [Bug #20421]
The bug was fixed in Ruby 3.3 via 9dcdffb8bf8a3654fd78bf1a58b30c8e13888a7a -
10:33 AM Bug #20421: String#index and String#byteindex don't clear `$~` when offset > size (or bytesize)
- Here's more targeted patch for Ruby 3.2: https://github.com/ruby/ruby/pull/10751
-
09:59 AM Bug #20421: String#index and String#byteindex don't clear `$~` when offset > size (or bytesize)
- I got a ruby-bug spec at https://github.com/ruby/ruby/pull/10750
As for 9dcdffb8bf8a3654fd78bf1a58b30c8e13888a7a,... -
10:26 AM Bug #19920 (Closed): Ruby 3.1 fails to build with --enable-shared on macos-arm64: is an incompatible architecture (have 'arm64', need '')
- Closing this to mark it as backport required for 3.1.
The commit to backport is https://github.com/ruby/ruby/commit/... -
10:23 AM Revision e82138e4 (git): Stabilize TestObjSpace#test_dump_special_consts
- The test assumes `:foo` is a static symbol, but that is only true
if a literal `:foo` was parsed before `"foo".to_sym... - 09:53 AM Revision 8b3280be (git): Update default gems list at fba7bdb710de11343fe7acaac8eba3 [ci skip]
-
09:52 AM Revision fba7bdb7 (git): [ruby/reline] Bump version to 0.5.6
- (https://github.com/ruby/reline/pull/700)
https://github.com/ruby/reline/commit/1b6c29a2b1 -
08:58 AM Misc #17569 (Closed): `uri` lib maintainership
- We have been merged the followings instead of https://github.com/ruby/uri/pull/15
* https://github.com/ruby/uri/pu... -
08:53 AM Feature #20469 (Third Party's Issue): Add a JSON addition for Enumerator::ArithmeticSequence
-
08:51 AM Feature #19528 (Third Party's Issue): `JSON.load` defaults are surprising (`create_additions: true`)
-
08:39 AM Revision fb6cfb41 (git): Mark rdoc as bundled gems at Ruby 3.5
- 06:59 AM Revision 6bff0707 (git): Update bundled gems list as of 2024-05-08
-
06:22 AM Revision 9df3f205 (git): test-syntax-suggest is not working with mswin environment
- 03:28 AM Revision 43b18dac (git): Bump github/codeql-action from 3.25.3 to 3.25.4
- Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.25.3 to 3.25.4.
- [Release notes](https:... -
02:40 AM Revision d10615c0 (git): [DOC] Update `--dump` option arguments in the ruby man page
- Related to [Feature #20329].
-
01:45 AM Revision 58bde016 (git): [DOC] Fix the pattern for man pages
-
01:11 AM Revision d6564615 (git): Fix format specifier for `DWORD`
-
01:11 AM Revision d224bfdc (git): `redblack_cache_ancestors` is enabled only when `mmap` is available
05/08/2024
-
11:58 PM Revision 8bd6ae4c (git): [rubygems/rubygems] Monthly man update for May 2024.
- https://github.com/rubygems/rubygems/commit/9ee7069841
-
06:56 PM Revision 442e398e (git): [ruby/prism] Ensure keyword parameters are not constants
- https://github.com/ruby/prism/commit/fd210115c1
-
06:43 PM Bug #20479 (Closed): Ensure line number in begin...end in method
- In the following example:
```ruby
def foo
begin
rescue
p :rescue
ensure
p :ensure
end
end
... -
05:58 PM Revision 128c9a92 (git): [ruby/prism] Enhance def params term error message
- https://github.com/ruby/prism/commit/3af1acd5da
-
05:30 PM Revision 2d631cf4 (git): [ruby/prism] Fix line number of unreachable statement warning
- https://github.com/ruby/prism/commit/62f6b1f2e2
-
04:52 PM Revision 61829eec (git): [ruby/prism] Ensure keyword parameters do not end in ! or ?
- https://github.com/ruby/prism/commit/57d86a8545
-
04:38 PM Revision 84ba35e8 (git): [ruby/prism] Invalid escape character syntax for nested unicode escapes
- https://github.com/ruby/prism/commit/623a0bb995
-
04:26 PM Revision 7c1e11fe (git): [ruby/prism] Validate Unicode escape sequences are not surrogates
- https://github.com/ruby/prism/commit/64d2ce2622
-
04:07 PM Bug #20478 (Closed): Circular parameter syntax error rules
- I would like to revisit https://bugs.ruby-lang.org/issues/16343.
These cases are syntax errors:
```ruby
def fo... -
04:02 PM Revision e9378788 (git): Revert "Update revision.h if branch unmatch not only revision"
- This reverts commit 5a332940ed2f809cb17af7e4d068089b6e1fa6ca.
Something does not work well on Github Actions. -
04:00 PM Revision 26446ccc (git): [ruby/reline] Implement bracketed paste insert
- (https://github.com/ruby/reline/pull/655)
https://github.com/ruby/reline/commit/e92dcbf514 - 02:22 PM Revision ad9c89fa (git): Update default gems list at 548a72e537e4a189817f7e6ca28ad8 [ci skip]
-
02:20 PM Revision 548a72e5 (git): [PRISM] Sync prism version bump
-
02:18 PM Revision 06a1df3e (git): [PRISM] Enable more passing tests
-
12:52 PM Revision 74d948a6 (git): [ruby/prism] Better error message on missing hash value
- https://github.com/ruby/prism/commit/b20e37e82e
-
12:39 PM Revision 5a332940 (git): Update revision.h if branch unmatch not only revision [ci skip]
-
12:24 PM Bug #20433: Hash.inspect for some hash returns syntax invalid representation
- > If we don't want to change that, then how about simply quoting these symbols that need it?
+1
-
12:20 PM Bug #20474: Heredoc common leading whitespace calculation question
- > However, the string is equal to `"\nh\n\n"`.
I would have expected it to be
```
" \nh\n \n"
```
but... -
12:14 PM Bug #20474: Heredoc common leading whitespace calculation question
- Thank you!
-
12:12 PM Bug #20474 (Closed): Heredoc common leading whitespace calculation question
- Applied in changeset commit:git|5bb656e4f063e717262efe2dc303ed914eb1dd6c.
----------
[Bug #20474] Keep spaces in lea... -
06:05 AM Bug #20474: Heredoc common leading whitespace calculation question
- It looks like a bug.
-
12:12 PM Revision ba062a62 (git): [PRISM] Use correct warning encoding
-
11:12 AM Revision a10a0d0c (git): CI: Pass -O2 for annocheck
- Because `optflags` is pasted into the invocation line after `CC`, we were
building with -O1 unintentionally. You can ... - 11:12 AM Revision 8029ee41 (git): [ruby/openssl] test_asn1.rb: Remove the assertions of the time string format without second.
- This commit fixes the following errors in the tests.
Because the OpenSSL project changed the code to make the time st... - 11:12 AM Revision 0ca642cd (git): [ruby/net-http] Skip test_session_reuse_but_expire with OpenSSL 3.3
- OpenSSL 3.3.0 9 Apr 2024 is also broken.
Signed-off-by: Xi Ruoyao <xry111@xry111.site>
https://github.com/ruby/net-... -
10:25 AM Revision 5bb656e4 (git): [Bug #20474] Keep spaces in leading blank line
-
10:20 AM Bug #20477: RJIT NoMatchingPatternError when initialize Hash literal with more 8 items
- Thank you!
I guessed, RJIT will be production solution in some future, sorry. -
09:44 AM Bug #20477: RJIT NoMatchingPatternError when initialize Hash literal with more 8 items
- Thanks for the easy reproduction steps. As a reminder from the previous ticket,
> Given its experimental nature, i... -
09:43 AM Bug #20477 (Feedback): RJIT NoMatchingPatternError when initialize Hash literal with more 8 items
-
07:26 AM Bug #20477 (Feedback): RJIT NoMatchingPatternError when initialize Hash literal with more 8 items
- When I create Hash with 8 or more items, I got the error:
```bash
ruby --rjit -e "a = 1; 1.upto(10) { b={a1: a&1,... -
09:39 AM Revision 841b45a4 (git): [ruby/openssl] Add to_text for PKCS7 and Timestamp::Response
- https://github.com/ruby/openssl/commit/71cd1e3f5c
-
08:24 AM Revision aabe718e (git): Show the caller location of assertion methods
- Not only defined in `Test::Unit` or `CoreAssertions`, also show the
caller location of assertion methods defined in t... -
07:29 AM Bug #20475: RJIT `and' NoMatchingPatternError
- Make new issue #20477 with reproduce steps
05/07/2024
-
11:25 PM Feature #20476: Add Enumerator#eager that returns self, like Enumerator::Lazy#lazy
- Added a PR https://github.com/ruby/ruby/pull/10739
-
11:24 PM Feature #20476 (Open): Add Enumerator#eager that returns self, like Enumerator::Lazy#lazy
- I'd like to propose adding an Enumerator#eager method. We currently have Enumerator#lazy, Enumerator::Lazy#lazy, Enum...
-
08:50 PM Bug #20421: String#index and String#byteindex don't clear `$~` when offset > size (or bytesize)
- We should also add a test so this doesn't regress on 3.3 & master, that seems fine as a `ruby_bug` spec in ruby/spec.
-
08:48 PM Bug #20421: String#index and String#byteindex don't clear `$~` when offset > size (or bytesize)
- Given this is a clear bug (which can break programs' logic) I think it's good to backport.
-
04:57 PM Bug #20421 (Closed): String#index and String#byteindex don't clear `$~` when offset > size (or bytesize)
- The issue doesn't affect 3.3 and master. It appears fixed by commit:9dcdffb8bf8a3654fd78bf1a58b30c8e13888a7a. If yo...
-
08:45 PM Bug #20475 (Feedback): RJIT `and' NoMatchingPatternError
- Given its experimental nature, it's somewhat intended that RJIT's assembler doesn't cover some patterns. It's for dev...
-
08:30 PM Bug #20475 (Feedback): RJIT `and' NoMatchingPatternError
- I try use RJIT for testing of Rails application:
```bash
$ RUBYOPT="--rjit" bin/bundle exec rake test
Started wi... -
08:44 PM Bug #20433: Hash.inspect for some hash returns syntax invalid representation
- I think always having spaces would help readability.
If we don't want to change that, then how about simply quoting ... -
07:01 PM Bug #20433: Hash.inspect for some hash returns syntax invalid representation
- I submitted a pull request for the most backwards compatible change, which only uses spaces around `=>` for symbols e...
-
06:32 PM Bug #20474 (Closed): Heredoc common leading whitespace calculation question
- I think I understand that <<~ will strip common leading whitespace from all lines. However, I am confused by the foll...
-
06:24 PM Revision b4b39a61 (git): [PRISM] Enable test_methoddef_endless_command
-
06:24 PM Revision 2bfc4875 (git): [PRISM] Enable more passing tests
-
06:03 PM Revision 21b94ae0 (git): [ruby/prism] Extend error message for unterminated HEREDOC
- https://github.com/ruby/prism/commit/c1b07ec11b
-
05:22 PM Revision dcbe0edb (git): [ruby/prism] Better error message for contents of hash pattern
- https://github.com/ruby/prism/commit/60dbf60f48
-
05:15 PM Revision 5d448468 (git): [ruby/prism] Disallow implicit hash in array pattern
- https://github.com/ruby/prism/commit/bdd509c6ac
-
04:44 PM Revision ef3803ed (git): Ignore the result of pthread_kill in ubf_wakeup_thread
- After an upgrade to Ruby 3.3.0, I experienced reproducible production crashes
of the form:
[BUG] pthread_kill: No su... -
04:31 PM Revision 8ec1c416 (git): [ruby/prism] Specific error message for symbol literal with interpolation in hash patterns
- https://github.com/ruby/prism/commit/31f0201bae
-
04:31 PM Revision 8cc733df (git): [ruby/prism] Add error for invalid implicit local writes
- https://github.com/ruby/prism/commit/ab21882561
-
02:56 PM Revision eb8efa42 (git): [ruby/prism] shareable_constant_value line warnings
- https://github.com/ruby/prism/commit/8c984b6922
-
01:48 PM Feature #19979: Allow methods to declare that they don't accept a block via `&nil`
- True, OTOH the trade-offs made in #15554 like every method using `super` considered to "accept a block" might not be ...
-
12:57 PM Feature #19979: Allow methods to declare that they don't accept a block via `&nil`
- This already exists for `**nil`, as in:
```ruby
irb(main):001> def foo(**nil); end
=> :foo
irb(main):002> metho... -
12:17 PM Feature #19979: Allow methods to declare that they don't accept a block via `&nil`
- From https://bugs.ruby-lang.org/issues/20436#note-12:
@ufuk wrote:
> Can we at least get runtime introspection for ... -
01:25 PM Bug #20468: Segfault on safe navigation in for target
- @nobu it's the same possibilities in `for`, `rescue`, and multi-write. As in:
```ruby
for (foo, @foo, @@foo, $foo... -
11:57 AM Misc #20436: DevMeeting at RubyKaigi 2024
- * [Misc #20432] Proposal for workflow changes related to teeny releases (ufuk)
* Can we discuss the proposals to m... -
05:58 AM Misc #20436: DevMeeting at RubyKaigi 2024
- * [Feature #20437] Could be the licensing conditions be made less ambiguous?
* [Bug #20438][Bug #20439] String format... - 06:59 AM Revision e1e6b497 (git): Update bundled gems list as of 2024-05-07
-
05:36 AM Revision 80adf6a1 (git): [rubygems/rubygems] Accept WASI as an OS name in Gem::Platform
- https://github.com/rubygems/rubygems/commit/1209d3c6b0
-
04:03 AM Bug #20465: parse.y adds an extra empty string to the AST
- tenderlovemaking (Aaron Patterson) wrote in #note-2:
> It's not a problem for the compiler (of course), but a proble... -
04:01 AM Feature #15554: warn/error passing a block to a method which never use a block
- I want the message to be separated for caller and callee, to tag jump.
Current:
> /home/runner/.rubies/ruby-head/... - 03:37 AM Revision 7c8903d0 (git): Bump actions/checkout from 4.1.4 to 4.1.5
- Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.4 to 4.1.5.
- [Release notes](https://github.c... - 02:55 AM Revision e9356bec (git): Bump actions/checkout in /.github/actions/setup/directories
- Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.4 to 4.1.5.
- [Release notes](https://github.c...