Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 365082 - [xtend] Flag static create methods with an error
Summary: [xtend] Flag static create methods with an error
Status: CLOSED FIXED
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: unspecified   Edit
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Moritz Eysholdt CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-29 10:55 EST by Moritz Eysholdt CLA
Modified: 2017-09-19 17:56 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Moritz Eysholdt CLA 2011-11-29 10:55:14 EST
Example:

---
class bar  {
	def static create new bar() newBar() {} 
}
---

The generated Java code is not compilable because neither the cache-filed nor the initializer-method are static.
Comment 1 Moritz Eysholdt CLA 2011-11-30 10:02:05 EST
Static create methods are now flagged with an error marker. Pushed to 'master'.
Comment 2 Karsten Thoms CLA 2017-09-19 17:45:52 EDT
Closing all bugs that were set to RESOLVED before Neon.0
Comment 3 Karsten Thoms CLA 2017-09-19 17:56:51 EDT
Closing all bugs that were set to RESOLVED before Neon.0