Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 340951 - [Xtend2][compiler] cannot handle uninitialized variables
Summary: [Xtend2][compiler] cannot handle uninitialized variables
Status: CLOSED FIXED
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: 2.0.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: M7   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-25 09:03 EDT by Christian Dietrich CLA
Modified: 2017-09-19 17:51 EDT (History)
2 users (show)

See Also:
sven.efftinge: indigo+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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