Closed eclipse-modisco-bot closed 2 hours ago
By Fabien Giquel on Apr 26, 2010 11:57
The "GetType" query has a scope (Expression|AbstractVariablesContainer). I have completed the implementation for computing a result for every subtype of Expression and AbstractVariablesContainer.
By Nicolas Bros on May 07, 2010 10:07
closing
| --- | --- | | Bugzilla Link | 308300 | | Status | CLOSED FIXED | | Importance | P3 normal | | Reported | Apr 07, 2010 05:08 EDT | | Modified | Sep 23, 2010 04:39 EDT | | Version | 0.8.0 | | Reporter | Nicolas Bros |
Description
The query defines scopes "Expression" and "AbstractVariablesContainer", but its Java implementation throws an exception if it gets something other than "AbstractVariablesContainer" or "Annotation".
org.eclipse.gmt.modisco.infra.query.core.exception.ModelQueryExecutionException: Unexpected context type: SingleVariableDeclarationImpl expected: AbstractVariablesContainer or Annotation in GetTypeRef\ at org.eclipse.gmt.modisco.java.text.queries.GetTypeRef.evaluate(GetTypeRef.java:38)