Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 315246 - Compilation error after diagram regeneration with 3.6RC, if diagram has phantoms
Summary: Compilation error after diagram regeneration with 3.6RC, if diagram has phantoms
Status: RESOLVED FIXED
Alias: None
Product: GMF-Tooling
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 2.4   Edit
Assignee: Artem Tikhomirov CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-01 12:03 EDT by Elena Shaverdova CLA
Modified: 2011-07-14 07:51 EDT (History)
2 users (show)

See Also:


Attachments
code snippet from deploy d (744 bytes, text/plain)
2010-06-01 12:12 EDT, Elena Shaverdova CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Elena Shaverdova CLA 2010-06-01 12:03:08 EDT
Build Identifier: I20100513-1500

In UMLDiagramUpdater of activity, class and deploy diagrams getPhantomNodesIterator(Resource resource) generated method returns Iterator<EObject> , and in generated get<SomeType>SemanticChildren(View view) result is treated as iterable in "shortened for" construction. As result generated code is not compilable.

Reproducible: Always
Comment 1 Michael Golubev CLA 2010-06-01 12:11:04 EDT
reassigning to GMF generation
Comment 2 Elena Shaverdova CLA 2010-06-01 12:12:55 EDT
Created attachment 170653 [details]
code snippet from deploy d
Comment 3 Eclipse Webmaster CLA 2010-07-19 22:17:30 EDT
[GMF Restructure] Bug 319140 : product GMF and component
Generation was the original product and component for this bug
Comment 4 Artem Tikhomirov CLA 2010-12-07 20:30:43 EST
wrong number of arguments in template call
Comment 5 Anthony Hunter CLA 2010-12-09 11:22:45 EST
Hi Artem, this is resolved fixed, but where. I guess HEAD only right?
Comment 6 Artem Tikhomirov CLA 2010-12-09 21:19:41 EST
Right, HEAD only.
Comment 7 Michael Golubev CLA 2011-07-13 19:45:48 EDT
version -> 2.4
Comment 8 Michael Golubev CLA 2011-07-14 07:51:37 EDT
Rollback, Set target to 2.4 instead of accidenatlly set Version