Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 319477

Summary: matches of structures with patterns is not done correctly
Product: z_Archived Reporter: Henrik Lindberg <henrik.lindberg>
Component: b3Assignee: Project Inbox <b3.engine-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 304496    

Description Henrik Lindberg CLA 2010-07-10 20:09:28 EDT
This functionality for matches that compares lists and maps needs to be revisited now that literal simple pattern (i.e. ~"a*a" is supported. 

When comparing list == list, the content should be compared with equals.
When comparing with ~= elements should be matched using patterns if there are any.

Note that ANY '_' is always equal to just any irrespective of the way the comparison is made, to find an ANY, an identiical match must be done with ===
Comment 1 Henrik Lindberg CLA 2010-10-02 18:34:32 EDT
Fixed in revision 1320.

SimplePattern is now supported for matches operator, and matches on List and Map was already performed using call to matches operator function.

Tests updated.