Commit 63d6f349 authored by André Pacak's avatar André Pacak
Browse files

lookup bug for let bindings fixed

parent a232b62f
......@@ -89,16 +89,14 @@ public final class Typing_InferQuerySpecification extends MPSQuerySpecification
exportedParameters.add(new ExportedParameter(body, var_out_1, p_out_1));
body.setSymbolicParameters(exportedParameters);
PVariable var__8775378229004998033 = body.newVirtualVariable();
PVariable var__8775378229004998023 = body.getOrCreateVariableByName("8775378229004998023");
PVariable var__8775378229004998024 = body.getOrCreateVariableByName("8775378229004998024");
PVariable var__8775378229004998027 = body.getOrCreateVariableByName("8775378229004998027");
PVariable var__8775378229004998028 = body.getOrCreateVariableByName("8775378229004998028");
PVariable var__7315585726604338175 = body.newVirtualVariable();
PVariable var__7315585726604338167 = body.getOrCreateVariableByName("7315585726604338167");
PVariable var__7315585726604338170 = body.getOrCreateVariableByName("7315585726604338170");
new TypeConstraint(body, Tuples.flatTupleOf(var_term), new ConceptKey(MetaAdapterFactory.getInterfaceConcept(0x8d2332833fa47ceL, 0x89dfdaaa7554f251L, 0x1a4a252762eb92d1L, "SumTypes.structure.Term")));
new PositivePatternCall(body, Tuples.flatTupleOf(var_term, var__8775378229004998023, var__8775378229004998024), Typing_Infer_WrappedQuerySpecification.instance().getInternalQueryRepresentation());
new AggregatorConstraint(new BoundAggregator(LType.instance().aggregator_glb, LType.LTypeElement.class, LType.LTypeElement.class), body, Tuples.flatTupleOf(var_term, var__8775378229004998027, var__8775378229004998028), Typing_Infer_WrappedQuerySpecification.instance().getInternalQueryRepresentation(), var__8775378229004998033, 2);
new Equality(body, var_out_1, var__8775378229004998033);
new PositivePatternCall(body, Tuples.flatTupleOf(var_term, var__7315585726604338167), Typing_Infer_WrappedQuerySpecification.instance().getInternalQueryRepresentation());
new AggregatorConstraint(new BoundAggregator(LType.instance().aggregator_glb, LType.LTypeElement.class, LType.LTypeElement.class), body, Tuples.flatTupleOf(var_term, var__7315585726604338170), Typing_Infer_WrappedQuerySpecification.instance().getInternalQueryRepresentation(), var__7315585726604338175, 1);
new Equality(body, var_out_1, var__7315585726604338175);
SetSequence.fromSet(bodies).addElement(body);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment