Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 326038 - Documentation of ancestors(OclType) has a mistake
Summary: Documentation of ancestors(OclType) has a mistake
Status: CLOSED FIXED
Alias: None
Product: Acceleo
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows Vista
: P3 minor
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 336509
Blocks:
  Show dependency tree
 
Reported: 2010-09-23 08:14 EDT by Laurent Delaigue CLA
Modified: 2015-05-27 08:57 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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