Project

General

Profile

Actions

Bug #7045

closed

DelegateClass array subtraction

Added by Anonymous over 11 years ago. Updated over 11 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 2.0.0dev (2012-09-21) [x86_64-darwin11.4.0]
Backport:
[ruby-core:47633]

Description

When I have an array that contains an array that contains a single instance of a class that inherits from DelegateClass, and I subtract from that array another array containing another array containing the same nested object, Ruby does not return an empty array. I've attached a test file that should replicate the one failing scenario, as well as some complimentary scenarios that do work as I had expected.


Files

delegate_class_test.rb (555 Bytes) delegate_class_test.rb Anonymous, 09/22/2012 02:56 AM

Related issues 1 (0 open1 closed)

Is duplicate of Ruby master - Bug #6408: DelegateClass#eql? and <=> don't work as expectedClosedtenderlovemaking (Aaron Patterson)Actions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0