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

Bug 370111

Summary: [xtend] Variable name must not be "assert"
Product: [Modeling] TMF Reporter: Karsten Thoms <karsten.thoms>
Component: XtextAssignee: Project Inbox <tmf.xtext-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: trivial    
Priority: P3 CC: sven.efftinge
Version: 2.2.1   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Karsten Thoms CLA 2012-01-30 05:53:39 EST
val assert = 1

results in uncompilable code, since "assert" is a Java keyword. There should be an error check for variable names to not use Java keywords.
Comment 1 Sven Efftinge CLA 2012-01-30 06:16:10 EST

*** This bug has been marked as a duplicate of bug 346826 ***