Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 349203 - Class with empty method does not compile
Summary: Class with empty method does not compile
Status: CLOSED FIXED
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: 2.0.0   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: SR1   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 353098 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-06-13 11:20 EDT by Jos Warmer CLA
Modified: 2017-09-19 18:16 EDT (History)
4 users (show)

See Also:
sebastian.zarnekow: indigo+


Attachments

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