-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Distinct labels flagged as duplicate #2087
Comments
We already use an adjusted uniqueness validator for LF, so this would be the point of entry to fix this. The error is created by |
Ah, I was looking at that class but didn't understand which method we needed the override. Thanks! |
I noticed that |
Yes, I checked it with the debugger. Apparently, the fact that we use a costomized implementation leads us into the deprecated API but don't ask me why they implemented it like this. |
The implementation looks a bit opaque to me. Would you know how to fix it? |
Not yet, I would have to take a closer look, but I can do that. |
@a-sr, have you been able to find out anything regarding this issue? |
It turns out to be a bit more tricky than I thought, but I am on it. |
It turned out easier than I thought, see #2147 |
This bug has been found by @lsk567. The following code yields the error
Duplicate AttrParm 'value'
:AFAIK, this should be equivalent to the following code, which does not yield errors:
The problem appears to me that uniqueness checks are done at the level of the
eContainer
, and while the attributes are associated with the syntactic element they precede, which are different, they in the same container. There must be a way to override this behavior but I'm not sure how. Perhaps @a-sr knows?The text was updated successfully, but these errors were encountered: