General

Profile

bughit (bug hit)

  • Login: bughit
  • Registered on: 10/29/2014
  • Last connection: 08/10/2020

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 11 21 32

Activity

08/11/2020

03:57 PM Ruby master Feature #17104: Do not freeze interpolated strings when using frozen-string-literal
> another reason is avoidance of alias effects
What you've shown is not another reason for freezing.
`a = b = "...
bughit (bug hit)

08/10/2020

06:51 PM Ruby master Feature #17104: Do not freeze interpolated strings when using frozen-string-literal
> However in my view what defines a literal, is the use of a specific syntax, so ""
There is only one reason for f...
bughit (bug hit)

08/05/2020

09:18 PM Ruby master Feature #17104: Do not freeze interpolated strings when using frozen-string-literal
Can't we just treat this as I feature request? The reasons are, it will reduce allocations, be more logical, less sur... bughit (bug hit)
08:58 PM Ruby master Feature #17104: Do not freeze interpolated strings when using frozen-string-literal
If you want to get a mutable string from an interpolated literal `+"_#{method1}_"`, 2 allocation will be done instead... bughit (bug hit)
08:06 PM Ruby master Feature #17104 (Open): Do not freeze interpolated strings when using frozen-string-literal
```rb
#frozen_string_literal: true
def foo(str)
"#{str}"
end
fr1 = 'a'
fr2 = 'a'
fr1_1 = foo(fr1)
fr2_1...
bughit (bug hit)

04/03/2020

06:35 PM Ruby master Bug #16148: bugs.ruby-lang.org is not sending email notifications for watched issues
Evidently the redmine_bugs_ruby_lang plugin redirects notifications only to the mailing list.
Is this what you act...
bughit (bug hit)

04/02/2020

05:56 PM Ruby master Feature #16752 (Open): :private param for const_set
Defining a private constant should not require two method calls.
You want to encourage private declarations becaus...
bughit (bug hit)

02/27/2020

04:31 PM Ruby master Feature #16644: qualified const init (self::CONST1 = 1) should be allowed in methods
> I'd rather make all const re-assignment error
I don't disagree, actual const re-assignment, dynamically detected...
bughit (bug hit)

02/26/2020

11:23 PM Ruby master Feature #16644: qualified const init (self::CONST1 = 1) should be allowed in methods
a qualified const init is so similar to meta-programming `const_set` that there's no reason to block it
```ruby
modu...
bughit (bug hit)

02/20/2020

07:08 PM Ruby master Feature #16644 (Rejected): qualified const init (self::CONST1 = 1) should be allowed in methods
```rb
module Mod1
def self.define_consts
const_set(:CONST1, :CONST1)
# this is actual const re-assign...
bughit (bug hit)

Also available in: Atom