| Summary: | Generated switch statements can be incorrectly ordered. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Modeling] EMF | Reporter: | James Bruck <bruck.james> | ||||
| Component: | Tools | Assignee: | Dave Steinberg <davidms> | ||||
| Status: | VERIFIED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | davidms, Ed.Merks | ||||
| Version: | 2.5.0 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 265703 | ||||||
| Attachments: |
|
||||||
|
Description
James Bruck
Breadth first *does* of course consider inheritance depth. It just considers depth of the first encountered inheritance path, not the *longest* path. I'm working on a patch. Created attachment 126091 [details]
Fix for switch class ordering
Here's a patch that should fix the ordering of supertype cases.
Looks good. The fix is in CVS for EMF 2.5. Fix available in HEAD: 2.5.0.I200902241800. Fix available in HEAD: 2.5.0 (R200906151043). |