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

Bug 365069

Summary: [Xtend] Primitives should be disallowed as type of extension fields
Product: [Modeling] TMF Reporter: Holger Schill <Holger.Schill>
Component: XtextAssignee: Project Inbox <tmf.xtext-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: sven.efftinge
Version: 2.2.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Holger Schill CLA 2011-11-29 10:03:06 EST
Steps to reproduce:

class Foo {

   extension int i = 1
}

This doesn't really make sence and a validation should raise an error.
Comment 1 Sven Efftinge CLA 2011-11-29 10:17:06 EST

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