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

Bug 340951

Summary: [Xtend2][compiler] cannot handle uninitialized variables
Product: [Modeling] TMF Reporter: Christian Dietrich <christian.dietrich.opensource>
Component: XtextAssignee: Project Inbox <tmf.xtext-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: sebastian.zarnekow, sven.efftinge
Version: 2.0.0Flags: sven.efftinge: indigo+
Target Milestone: M7   
Hardware: All   
OS: All   
Whiteboard:

Description Christian Dietrich CLA 2011-03-25 09:03:09 EDT
i have following in my xtend2 (M6) class

	doSomeStuff() {
		var String x;
		x = "";
	}

the xtend compiler fails with an NullPointer.
Comment 1 Sebastian Zarnekow CLA 2011-04-03 13:37:33 EDT
Pushed to master.
Comment 2 Karsten Thoms CLA 2017-09-19 17:40:46 EDT
Closing all bugs that were set to RESOLVED before Neon.0
Comment 3 Karsten Thoms CLA 2017-09-19 17:51:53 EDT
Closing all bugs that were set to RESOLVED before Neon.0