[XCore] derived feature unimplemented [message #1022244] |
Thu, 21 March 2013 10:34  |
Eclipse User |
|
|
|
Hi,
another problem with (the newest M6 milestone of) XCore. There are two xcore projects named 'base' and 'extender'. The 'base' project is generated from base.xcore:
package base
class Foo {}
class Bar {
int x
int y
derived int sum get {
return x + y
}
}
class MyClass extends Foo, Bar {}
the 'extender' depends on 'base' and is genreated from extender.xcore:
package extender
import base.Foo
import base.Bar
class MyClass extends Foo, Bar {}
The result is that base.MyClassImpl is different than extender.MyClassImpl. The getSum() method from base.MyClassImpl is generated correctly. The same method in extender.MyClassImpl throws UnsupportedOperationException. Is it a bug or did I miss something? Both projects are attached in the ZIP file.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04419 seconds