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

Bug 315246

Summary: Compilation error after diagram regeneration with 3.6RC, if diagram has phantoms
Product: [Modeling] GMF-Tooling Reporter: Elena Shaverdova <eshaverdova>
Component: CoreAssignee: Artem Tikhomirov <tikhomirov.artem>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: ahunter.eclipse, borlander
Version: unspecified   
Target Milestone: 2.4   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
code snippet from deploy d none

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