Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 365069 - [Xtend] Primitives should be disallowed as type of extension fields
Summary: [Xtend] Primitives should be disallowed as type of extension fields
Status: CLOSED DUPLICATE of bug 365071
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: 2.2.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-29 10:03 EST by Holger Schill CLA
Modified: 2011-11-29 10:17 EST (History)
1 user (show)

See Also:


Attachments

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