ruby-core

Mailing list archive

[#81492] [Ruby trunk Feature#13618] [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid — normalperson@...

Issue #13618 has been reported by normalperson (Eric Wong).

12 messages 2017/06/01

[ruby-core:81770] Re: [Ruby trunk Feature#10771] An easy way to get the source location of a constant

From: Eric Wong <normalperson@...>
Date: 2017-06-26 02:45:31 UTC
List: ruby-core #81770
jeremy.phelps@instacart.com wrote:
> Ok, then here's my patch. I called the method
> "const_source_location" instead of "constant_source_location",
> because it uses a lot of the same code as "const_get".

Thanks. The code looks fine.
I'd suggest rb_ary_new_from_args to avoid the temporary array
(instead of rb_ary_new4) but we can fix it at commit time.

It's up to matz now to approve/deny the feature itself.

Thanks again

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next