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

Bug 326038

Summary: Documentation of ancestors(OclType) has a mistake
Product: [Modeling] Acceleo Reporter: Laurent Delaigue <laurent.delaigue>
Component: CoreAssignee: Project Inbox <acceleo-inbox>
Status: CLOSED FIXED QA Contact:
Severity: minor    
Priority: P3 CC: stephane.begaudeau
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard:
Bug Depends on: 336509    
Bug Blocks:    

Description Laurent Delaigue CLA 2010-09-23 08:14:37 EDT
Build Identifier: 3.0.0.v201006150906

The doc of ancestors(OclType) uses an example where the root model should be returned in the result, since in UML, Model extends Package.
By the way, it would be useful to explicitly state that ancestors(OclType type) returns ancestors for which oclIsKindOf(type) retursn true.
And this is probably true for many other operations that receive an OclType parameter.

Reproducible: Always
Comment 1 Stephane Begaudeau CLA 2011-10-12 05:23:56 EDT
A fix has been contributed on HEAD. It will be available in Acceleo 3.2.0 RC2
Comment 2 Laurent Goubet CLA 2015-05-27 08:57:08 EDT
Closing resolved bugs