| Summary: | AbstractDeclarativeScopeProvider.NAMED_DELEGATE not used consistently | ||
|---|---|---|---|
| Product: | [Modeling] TMF | Reporter: | yirco <netswengineer> |
| Component: | Xtext | Assignee: | Project Inbox <tmf.xtext-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | trivial | ||
| Priority: | P3 | CC: | sven.efftinge |
| Version: | 1.0.1 | Flags: | sven.efftinge:
indigo+
|
| Target Milestone: | M5 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
Thanks. This has already been fixed in the current development stream. (In reply to comment #1) > Thanks. This has already been fixed in the current development stream. OK, no problem. Closing all bugs that were set to RESOLVED before Neon.0 Closing all bugs that were set to RESOLVED before Neon.0 |
Hello, class org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider defines: public final static String NAMED_DELEGATE = "org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider.delegate"; But generated module e.g. public abstract class AbstractMyDslRuntimeModule extends DefaultRuntimeModule { uses a raw string // contributed by org.eclipse.xtext.generator.scoping.AbstractScopingFragment public void configureIScopeProviderDelegate(com.google.inject.Binder binder) { binder.bind(org.eclipse.xtext.scoping.IScopeProvider.class).annotatedWith(com.google.inject.name.Names.named("org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider.delegate")).to(org.eclipse.xtext.scoping.impl.ImportedNamespaceAwareLocalScopeProvider.class); }