|
|
|
|
Re: Cannot cast to XbaseScopeProvider [message #837108 is a reply to message #836745] |
Thu, 05 April 2012 09:25 |
|
Hi,
if i create a new project with your grammar it generates no scopeprovider at all. =>
// contributed by org.eclipse.xtext.generator.xbase.XbaseGeneratorFragment
public Class<? extends org.eclipse.xtext.scoping.IScopeProvider> bindIScopeProvider() {
return org.eclipse.xtext.xbase.scoping.XbaseScopeProvider.class;
}
=> where does your scopeprovider and its binding come from?
~Christian
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
|
|
|
|
|
|
Re: Cannot cast to XbaseScopeProvider [message #837191 is a reply to message #837182] |
Thu, 05 April 2012 11:32 |
Gregor Frey Messages: 12 Registered: April 2012 |
Junior Member |
|
|
Sorry, the error was my mistake. Probably I got the file extension wrong.
So, now, in 2.2.1, there is no issue with ScopeProvider, even when I use the "experimental", "non-stable" features.
I would recommend to put this version to the Eclipse update site too, because there I got the 2.0.1 version, that generated the critical ScopeProvider.
Thanks, Christian, for your help!
Ciao
Gregor
|
|
|
|
Powered by
FUDForum. Page generated in 0.04622 seconds