Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 509504 - [clean up] Clean Up -> Convert to lambda results in syntax errors
Summary: [clean up] Clean Up -> Convert to lambda results in syntax errors
Status: CLOSED DUPLICATE of bug 433535
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.6   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-20 03:12 EST by Lars Vogel CLA
Modified: 2016-12-20 03:35 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Vogel CLA 2016-12-20 03:12:53 EST
To test, select the org.eclipse.ui.workbench plug-in from the eclipse.platform.ui project. 

Run Cleanup Actions, convert to lambda and you end up with several compile errors.
Comment 1 Dani Megert CLA 2016-12-20 03:28:22 EST
Please provide the code (before / after) here.

Dup of bug 421479?
Comment 2 Noopur Gupta CLA 2016-12-20 03:35:13 EST
The error that you get is: "Cannot reference a field before it is defined" which is bug 433535.

*** This bug has been marked as a duplicate of bug 433535 ***