Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Cannot add supertype X to sealed type Y
Cannot add supertype X to sealed type Y [message #917760] Thu, 20 September 2012 12:07 Go to next message
Wouter Schaekers is currently offline Wouter SchaekersFriend
Messages: 17
Registered: July 2012
Junior Member
Hi

I'm using Xcore to define my model. Then, I convert this model to an Xtext environment.
I've stumbled upon a weird error in my Xtext grammar: 'Cannot add supertype X to sealed type Y'. The problem is that this error only occurs when I load the whole Xcore model in a new workspace and convert it to Xtext.
If I implement the classes one by one, this problem doesn't occur, although the models are (ofcourse) exactly the same. I can generate the Xtext model without a problem.

Has someone any idea how this is possible? Is this a bug?

Thanks.

[Updated on: Thu, 20 September 2012 12:08]

Report message to a moderator

Re: Cannot add supertype X to sealed type Y [message #1239608 is a reply to message #917760] Tue, 04 February 2014 15:36 Go to previous messageGo to next message
Dénes Harmath is currently offline Dénes HarmathFriend
Messages: 157
Registered: July 2009
Senior Member
Unfortunately it is: https://bugs.eclipse.org/bugs/show_bug.cgi?id=391210
Re: Cannot add supertype X to sealed type Y [message #1239698 is a reply to message #917760] Tue, 04 February 2014 20:37 Go to previous message
Sven Efftinge is currently offline Sven EfftingeFriend
Messages: 1823
Registered: July 2009
Senior Member
Could you please try to provide a reduced example, such that we can
reproduce and fix the issue. Please attach it to a fresh bugzilla.
Thanks,
Sven

Am 20/09/12 14:07, schrieb Wouter Schaekers:
> Hi
>
> I'm using Xcore to define my model. Then, I convert this model to an
> Xtext environment.
> I've stumbled upon a weird error in my xtext grammar: 'Cannot add
> supertype X to sealed type Y'. The problem is that this error only
> occurs when I load the whole Xcore model in a new workspace and convert
> it to Xtext.
> If I implement the classes one by one, this problem doesn't occur,
> although the models are (ofcourse) exactly the same. I can generate the
> Xtext model without a problem.
>
> Has someone any idea how this is possible? Is this a bug?
>
> Thanks.


--
Need professional support for Xtext or other Eclipse Modeling technologies?
Go to: http://xtext.itemis.com
Twitter : @svenefftinge
Blog : http://blog.efftinge.de
Previous Topic:Xtext is not validating return parameter type and also not recognizing the formal parameter
Next Topic:Creating Xtext release locally
Goto Forum:
  


Current Time: Sat Apr 20 10:44:05 GMT 2024

Powered by FUDForum. Page generated in 0.02867 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top