[#107008] [Ruby master Bug#18465] Make `IO#write` atomic. — "ioquatix (Samuel Williams)" <noreply@...>
Issue #18465 has been reported by ioquatix (Samuel Williams).
16 messages
2022/01/09
[#107150] [Ruby master Feature#18494] [RFC] ENV["RUBY_GC_..."]= changes GC parameters dynamically — "ko1 (Koichi Sasada)" <noreply@...>
Issue #18494 has been updated by ko1 (Koichi Sasada).
4 messages
2022/01/17
[#107170] Re: [Ruby master Feature#18494] [RFC] ENV["RUBY_GC_..."]= changes GC parameters dynamically
— Eric Wong <normalperson@...>
2022/01/17
> https://bugs.ruby-lang.org/issues/18494
[#107302] [Ruby master Bug#18553] Memory leak on compiling method call with kwargs — "ibylich (Ilya Bylich)" <noreply@...>
Issue #18553 has been reported by ibylich (Ilya Bylich).
4 messages
2022/01/27
[#107346] [Ruby master Misc#18557] DevMeeting-2022-02-17 — "mame (Yusuke Endoh)" <noreply@...>
Issue #18557 has been reported by mame (Yusuke Endoh).
18 messages
2022/01/29
[ruby-core:106973] [Ruby master Feature#18460] implicit self for .() syntax without rvalue
From:
"cvss (Kirill Vechera)" <noreply@...>
Date:
2022-01-05 14:51:23 UTC
List:
ruby-core #106973
Issue #18460 has been reported by cvss (Kirill Vechera).
----------------------------------------
Feature #18460: implicit self for .() syntax without rvalue
https://bugs.ruby-lang.org/issues/18460
* Author: cvss (Kirill Vechera)
* Status: Open
* Priority: Normal
----------------------------------------
We have a nice `.()` shorthand for calling Proc
```ruby
m = 1.method(:+)
m.(2) # 3
```
But while we can use this shorthand in a Proc's context with the explicit self, we cannot use it with the implicit self:
```ruby
m.instance_exec { self.(2) } # 3
m.instance_exec { .(2) } # syntax error, unexpected '.' (SyntaxError)
```
So I propose to make this syntax valid too.
--
https://bugs.ruby-lang.org/
Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>