if (v.getType().isSubtypeOf(declaredType)) {
// TODO: do we actually want to instantiate the locally
// bound type parameters?
Map<Type, Type> bindings = new HashMap<Type, Type>();
declaredType.match(v.getType(), bindings);
declaredType = declaredType.instantiate(bindings);
// Was: r = makeResult(declaredType,
// applyRules(v.getValue()));
r = org.rascalmpl.interpreter.result.ResultFactory
.makeResult(declaredType, v.getValue(), __eval);