[#87847] undefined symbol: mjit_init_p — Leam Hall <leamhall@...>

I pulled Ruby trunk on 3 Jul and am now getting errors similar to the

10 messages 2018/07/07

[#88088] [Ruby trunk Misc#14937] [PATCH] thread_pthread: lazy-spawn timer-thread only on contention — normalperson@...

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

9 messages 2018/07/24

[ruby-core:87746] [Ruby trunk Feature#14887] Array#delete_if does not use #delete

From: eregontp@...
Date: 2018-07-02 10:17:43 UTC
List: ruby-core #87746
Issue #14887 has been updated by Eregon (Benoit Daloze).


Do you mean delete_if and reject! should call *delete_at*?

Calling #delete doesn't make sense, as @Hanmac showed above.

In general, I would not recommend to inherit from Array, there are many pitfalls.
It is much simpler and better supported to use composition.

----------------------------------------
Feature #14887: Array#delete_if does not use #delete
https://bugs.ruby-lang.org/issues/14887#change-72768

* Author: sdaubert (Sylvain Daubert)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
----------------------------------------
When a class inherits from Array, and its #delete methods is modified, #delete_if and #reject! do not call this method. From sources, its an internal C method which is called instead.

Is there a way to modify #delete_if and #reject! to use #delete? This would ease inheriting of Array class.



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:[email protected]?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next