sets and maps break equality
----------------------------

                 Key: THRIFT-369
                 URL: https://issues.apache.org/jira/browse/THRIFT-369
             Project: Thrift
          Issue Type: Bug
          Components: Library (Ruby)
            Reporter: Bryan Duxbury
            Priority: Minor


I've found that two structs that have value-equivalent sets or maps as values 
for some reason cause struct's == to fail. This is inconsistent with other 
languages.

For example, this struct: 
{code}
struct {
  set_byte_map: <Set: { {1=>2} }>,
  map_byte_map: { {1=>1} => 1 }
}
{code}

created twice independently will not be ==.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to