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

Bug 361434

Summary: For statement fixes
Product: z_Archived Reporter: Scott Greer <greer>
Component: EDTAssignee: Project Inbox <edt.javascriptgen-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P1 CC: jspadea
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Scott Greer CLA 2011-10-19 12:57:23 EDT
Jeff has reworked the For statement and related templates to address the following bugs:  361155, 361163, 360416;  this bug is to cover the work required to "port" that work to JS gen.

It encompasses looking at the following parts in Java gen and mirroring the logic in their JS gen counterparts:

* org.eclipse.edt.gen.java.templates
  * ForStatementTemplate.java
  * ExitStatementTemplate.java

and possibly the following templates:
  * Label.java
  * ContinueStatementTemplate

Unit- and regression-testing should probably rely the testcases in  org.eclipse.edt.tests.javascript/EGLSource/FVT/baseStatements AND/OR org.eclipse.edt.eunit.test/EGLSource/FVT/baseStatements
Comment 1 Justin Spadea CLA 2011-10-20 12:33:58 EDT
Merged the changes from ForStatementTemplate and ExitStatementTemplate to jsgen.
Comment 2 Lisa Lasher CLA 2011-11-02 10:25:06 EDT
closing this defect