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

Bug 349203

Summary: Class with empty method does not compile
Product: [Modeling] TMF Reporter: Jos Warmer <jos.warmer>
Component: XtextAssignee: Project Inbox <tmf.xtext-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: jan, karsten.thoms, sebastian.zarnekow, sven.efftinge
Version: 2.0.0Flags: sebastian.zarnekow: indigo+
Target Milestone: SR1   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Jos Warmer CLA 2011-06-13 11:20:47 EDT
Build Identifier: Build id: I20110526-1708

When I have a class with an empty method, like:

  def aal(String s) 

It does not compile, i.e. there is no Java class generated for this class. There also are no error messages.


Reproducible: Always

Steps to Reproduce:
1. Create class and add empty method
2. Clean project 
3. Java file will be removed by clean, but not be generated again
Comment 1 Sebastian Zarnekow CLA 2011-06-13 12:31:10 EDT
Are there any error markers in the Xtend file?
Comment 2 Jan Koehnlein CLA 2011-07-07 04:51:16 EDT
Our infrastructure currently does not support abstract classes or functions. I've removed the optional cardinality from the XtendFunction.expression alternative. We should implement abstract XtendClasses and XtendFunctions in the next minor release.
Comment 3 Sebastian Zarnekow CLA 2011-07-26 09:22:23 EDT
*** Bug 353098 has been marked as a duplicate of this bug. ***
Comment 4 Sven Efftinge CLA 2011-07-31 07:56:13 EDT
Has already been fixed
Comment 5 Karsten Thoms CLA 2017-09-19 18:06:31 EDT
Closing all bugs that were set to RESOLVED before Neon.0
Comment 6 Karsten Thoms CLA 2017-09-19 18:16:14 EDT
Closing all bugs that were set to RESOLVED before Neon.0