| Summary: | NamesAreUniqueValidator does not coexist with AbstractModelInferrer | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Modeling] TMF | Reporter: | Lorenzo Bettini <lorenzo.bettini> | ||||
| Component: | Xtext | Assignee: | Project Inbox <tmf.xtext-inbox> | ||||
| Status: | CLOSED WONTFIX | QA Contact: | |||||
| Severity: | major | ||||||
| Priority: | P3 | CC: | btickets, mail, sebastian.zarnekow, sven.efftinge | ||||
| Version: | 2.1.1 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Lorenzo Bettini
Created attachment 207582 [details]
mylyn/context/zip
The NamesAreUniqueValidator is only a simple approach to a generalized validation for unique names. It fails for more complicates cases like overloaded methods or annotation targets. I'm afraid you'll have to implement the name checking by yourself if you use Xbase. well at least if I use the model inferrer :) I seem to be able to use it together with xbase if I don't use the model inferrer; however, I see your point, for the moment I'll do manual generation with xtend2 (without using the model inferrer). I guess the documentation should state this, though :) Closing this, since it works as designed (see comment #2). |