General

Profile

chrisseaton (Chris Seaton)

Issues

Activity

08/09/2019

10:54 PM Ruby master Misc #16091: gsub
@thiaguerd I don't understand - the `String#replace` method only takes one argument - you're calling it with two so t... chrisseaton (Chris Seaton)

08/07/2019

12:42 AM Ruby master Feature #15974: Warn in verbose mode on defining a finalizer that captures the object
Yes we could do that, and enable it always as that'd be cheap. chrisseaton (Chris Seaton)

08/06/2019

11:55 PM Ruby master Feature #15974: Warn in verbose mode on defining a finalizer that captures the object
> Question: shouldn't this be an error rather than a warning?
No, because it's possible to have a reference from t...
chrisseaton (Chris Seaton)

07/15/2019

10:38 AM Ruby master Feature #16001: Provide an alias to Kernel#caller_locations(1,1) and Kernel#caller(1,1)
@eregon the answer is in the former version of this issue - 'avoid common beginner mistakes getting full backtrace in... chrisseaton (Chris Seaton)

07/14/2019

08:25 PM Ruby master Feature #16001: Provide an alias to Kernel#caller_locations(1,1) and Kernel#caller(1,1)
> If so, it seems like a very heavy handed way to shorten something that is already fairly short
For some reason ...
chrisseaton (Chris Seaton)

07/05/2019

11:03 PM Ruby master Bug #11214: Cannot Get Correct Binding from inside of C Method
> I'm fairly sure having binding capture arguments passed to C methods is not possible.
TruffleRuby could do that!...
chrisseaton (Chris Seaton)

07/02/2019

07:26 PM Ruby master Feature #15974 (Closed): Warn in verbose mode on defining a finalizer that captures the object
Applied in changeset commit:git|928260c2a613bbdd4402c300e0bf86ae7562e52a.
----------
Warn in verbose mode on definin...
chrisseaton (Chris Seaton)
07:05 PM Ruby master Feature #15974: Warn in verbose mode on defining a finalizer that captures the object
I think Ruby Spec considers warnings to be user-visible features, so does normally spec them. This prompts alternativ... chrisseaton (Chris Seaton)
02:00 PM Ruby master Feature #15974 (Closed): Warn in verbose mode on defining a finalizer that captures the object
There's a really common mistake people make when using `define_finalizer` - they capture the object in the finalizer.... chrisseaton (Chris Seaton)
07:05 PM Ruby master Revision 928260c2 (git): Warn in verbose mode on defining a finalizer that captures the object
[Feature #15974]
Closes: https://github.com/ruby/ruby/pull/2264
chrisseaton (Chris Seaton)

Also available in: Atom