Skip to content
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

[Xtend] No check for duplicate interface specification #2928

Closed
LorenzoBettini opened this issue Feb 5, 2024 · 1 comment · Fixed by #2929
Closed

[Xtend] No check for duplicate interface specification #2928

LorenzoBettini opened this issue Feb 5, 2024 · 1 comment · Fixed by #2929
Milestone

Comments

@LorenzoBettini
Copy link
Contributor

While working on #2349 I discovered that Xtend does not check for duplicate interface specification:

image

This leads to a wrong Java class generation:

image

And then the Java error is reported on the Xtend file

Screenshot-20240205134759-2560x1440

But maybe we could catch it before getting to the code generation.

@szarnekow I can fix it upstream and then port it to #2349 , what do you think?

@szarnekow
Copy link
Contributor

@LorenzoBettini Yes, please add a validation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants