Commit f573137d authored by André Pacak's avatar André Pacak

fixing stupid bug in infer (case Zero was not for term Zero but a name (default case))

parent a9492c94
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -3,7 +3,7 @@
<dependency className="VariantTypes_Checker.model.AnalysisResultAccess">
<classNode dependClassName="VariantTypes_Checker.model.LType" />
<classNode dependClassName="VariantTypes_Checker.model.LTypeVariant" />
<classNode dependClassName="VariantTypes_Checker.model.Typing_CheckFailureQuerySpecification" />
<classNode dependClassName="VariantTypes_Checker.model.Typing_CheckErrorQuerySpecification" />
<classNode dependClassName="VariantTypes_Checker.model.Typing_InferQuerySpecification" />
<classNode dependClassName="VariantTypes_Checker.model.Typing_LookupFailureQuerySpecification" />
<classNode dependClassName="VariantTypes_Checker.model.Typing_MatchFunFailureQuerySpecification" />
......@@ -11,7 +11,6 @@
<classNode dependClassName="io.usethesource.capsule.Map" />
<classNode dependClassName="java.lang.Object" />
<classNode dependClassName="java.lang.String" />
<classNode dependClassName="java.lang.System" />
<classNode dependClassName="java.util.Iterator" />
<classNode dependClassName="java.util.Map" />
<classNode dependClassName="java.util.Set" />
......@@ -362,7 +361,7 @@
<classNode dependClassName="org.inca.core.runtime.plugin.MPSQuerySpecificationHints" />
<classNode extendsClassName="org.inca.core.runtime.plugin.MPSQuerySpecification" />
</dependency>
<dependency className="VariantTypes_Checker.model.Typing_CheckFailureQuerySpecification">
<dependency className="VariantTypes_Checker.model.Typing_CheckErrorQuerySpecification">
<classNode dependClassName="VariantTypes_Checker.model.QuerySpecificationHints" />
<classNode dependClassName="VariantTypes_Checker.model.Typing_CheckQuerySpecification" />
<classNode dependClassName="VariantTypes_Checker.model.Typing_RequiredQuerySpecification" />
......
<?xml version="1.0" encoding="UTF-8"?>
<product version="3" modelHash="36ynp9923n6f0f0vkzgixqmzgdy90fh">
<files names="AnalysisResultAccess.java:ConstantDefinitions.java:LType.java:LTypeVariant.java:QuerySpecificationHints.java:Typing_AllvarsQuerySpecification.java:Typing_Allvars_0_switchCommonQuerySpecification.java:Typing_AsLTypeQuerySpecification.java:Typing_AsLTypeVariantQuerySpecification.java:Typing_AsLTypeVariant_0_switchCommonQuerySpecification.java:Typing_AsLTypeVariant_WrappedQuerySpecification.java:Typing_AsLType_0_switchCommonQuerySpecification.java:Typing_CheckFailureQuerySpecification.java:Typing_CheckQuerySpecification.java:Typing_Check_0_switchCommonQuerySpecification.java:Typing_InferQuerySpecification.java:Typing_Infer_0_switchCommonQuerySpecification.java:Typing_Infer_WrappedQuerySpecification.java:Typing_LookupFailureQuerySpecification.java:Typing_LookupFailure_0_switchCommonQuerySpecification.java:Typing_LookupQuerySpecification.java:Typing_Lookup_0_switchCommonQuerySpecification.java:Typing_MatchFunFailureQuerySpecification.java:Typing_MatchFunFailure_0_switchCommonQuerySpecification.java:Typing_MatchVariantFailureQuerySpecification.java:Typing_MatchVariantFailure_0_switchCommonQuerySpecification.java:Typing_RequiredQuerySpecification.java:Typing_Required_0_switchCommonQuerySpecification.java" />
<product version="3" modelHash="-9s0pit42rjnw8d6llqqihsfzd5dqrz">
<files names="AnalysisResultAccess.java:ConstantDefinitions.java:LType.java:LTypeVariant.java:QuerySpecificationHints.java:Typing_AllvarsQuerySpecification.java:Typing_Allvars_0_switchCommonQuerySpecification.java:Typing_AsLTypeQuerySpecification.java:Typing_AsLTypeVariantQuerySpecification.java:Typing_AsLTypeVariant_0_switchCommonQuerySpecification.java:Typing_AsLTypeVariant_WrappedQuerySpecification.java:Typing_AsLType_0_switchCommonQuerySpecification.java:Typing_CheckErrorQuerySpecification.java:Typing_CheckQuerySpecification.java:Typing_Check_0_switchCommonQuerySpecification.java:Typing_InferQuerySpecification.java:Typing_Infer_0_switchCommonQuerySpecification.java:Typing_Infer_WrappedQuerySpecification.java:Typing_LookupFailureQuerySpecification.java:Typing_LookupFailure_0_switchCommonQuerySpecification.java:Typing_LookupQuerySpecification.java:Typing_Lookup_0_switchCommonQuerySpecification.java:Typing_MatchFunFailureQuerySpecification.java:Typing_MatchFunFailure_0_switchCommonQuerySpecification.java:Typing_MatchVariantFailureQuerySpecification.java:Typing_MatchVariantFailure_0_switchCommonQuerySpecification.java:Typing_RequiredQuerySpecification.java:Typing_Required_0_switchCommonQuerySpecification.java" />
</product>
......@@ -34,25 +34,19 @@ public class AnalysisResultAccess {
public static boolean isChecked(final SNode term, final SModel scope) {
final ViatraQueryMatcher<IPatternMatch> evaluatorInfer = EnginePool.getMatcher(Typing_InferQuerySpecification.instance(), AbstractScope.from(scope), true, ScatteredTimelyReteBackendFactory.INSTANCE);
final ViatraQueryMatcher<IPatternMatch> evaluatorCheckFailure = EnginePool.getMatcher(Typing_CheckFailureQuerySpecification.instance(), AbstractScope.from(scope), true, ScatteredTimelyReteBackendFactory.INSTANCE);
final ViatraQueryMatcher<IPatternMatch> evaluatorCheckError = EnginePool.getMatcher(Typing_CheckErrorQuerySpecification.instance(), AbstractScope.from(scope), true, ScatteredTimelyReteBackendFactory.INSTANCE);
final ViatraQueryMatcher<IPatternMatch> evaluatorMatchFunFailure = EnginePool.getMatcher(Typing_MatchFunFailureQuerySpecification.instance(), AbstractScope.from(scope), true, ScatteredTimelyReteBackendFactory.INSTANCE);
final ViatraQueryMatcher<IPatternMatch> evaluatorMatchVariantFailure = EnginePool.getMatcher(Typing_MatchVariantFailureQuerySpecification.instance(), AbstractScope.from(scope), true, ScatteredTimelyReteBackendFactory.INSTANCE);
final ViatraQueryMatcher<IPatternMatch> evaluatorLookupFailure = EnginePool.getMatcher(Typing_LookupFailureQuerySpecification.instance(), AbstractScope.from(scope), true, ScatteredTimelyReteBackendFactory.INSTANCE);
final IPatternMatch tup = evaluatorInfer.newMatch(term, null);
final Set<LType.LTypeElement> inferValues = CodeGenerationHelper.getAllValues(evaluatorInfer, "out_1", tup);
boolean checkFailure = CollectionSequence.fromCollection(evaluatorCheckFailure.getAllMatches()).isNotEmpty();
System.out.println("CHECK FAIL " + evaluatorCheckFailure.getAllMatches());
boolean matchFunFailure = CollectionSequence.fromCollection(evaluatorMatchFunFailure.getAllMatches()).isNotEmpty();
System.out.println("MATCHFUN FAIL " + evaluatorMatchFunFailure.getAllMatches());
boolean checkError = CollectionSequence.fromCollection(evaluatorCheckError.getAllMatches()).isNotEmpty();
boolean matchFunFailure = CollectionSequence.fromCollection(evaluatorMatchFunFailure.getAllMatches()).isNotEmpty();
boolean matchVariantFailure = CollectionSequence.fromCollection(evaluatorMatchVariantFailure.getAllMatches()).isNotEmpty();
System.out.println("MATCHVARIANT FAIL " + evaluatorMatchVariantFailure.getAllMatches());
boolean lookupFailure = CollectionSequence.fromCollection(evaluatorLookupFailure.getAllMatches()).isNotEmpty();
System.out.println("LOOKUP FAIL " + evaluatorLookupFailure.getAllMatches());
if (checkFailure || matchFunFailure || matchVariantFailure || lookupFailure) {
if (checkError || matchFunFailure || matchVariantFailure || lookupFailure) {
return false;
}
......@@ -63,18 +57,18 @@ public class AnalysisResultAccess {
boolean isBotAvailable = SetSequence.fromSet(inferValues).any(new IWhereFilter<LType.LTypeElement>() {
public boolean accept(LType.LTypeElement it) {
{
final Object[] values_a0a0a0z0d = {it};
final Object[] values_a0a0a0t0d = {it};
// declare the local variables for the case matchers
Map<String, Object> case_0_a0a0a0a52a3;
Map<String, Object> case_1_b0a0a0a52a3;
Map<String, Object> case_0_a0a0a0a91a3;
Map<String, Object> case_1_b0a0a0a91a3;
if ((case_0_a0a0a0a52a3 = new SequenceMatcher(matcher_a0a0a0a0z0d).match(values_a0a0a0z0d)) != null) {
if ((case_0_a0a0a0a91a3 = new SequenceMatcher(matcher_a0a0a0a0t0d).match(values_a0a0a0t0d)) != null) {
return true;
} else if ((case_1_b0a0a0a52a3 = new SequenceMatcher(WildCardMatcher.INSTANCE).match(values_a0a0a0z0d)) != null) {
} else if ((case_1_b0a0a0a91a3 = new SequenceMatcher(WildCardMatcher.INSTANCE).match(values_a0a0a0t0d)) != null) {
return false;
} else {
throw new PatternMatcherException(values_a0a0a0z0d);
throw new PatternMatcherException(values_a0a0a0t0d);
}
}
}
......@@ -87,21 +81,21 @@ public class AnalysisResultAccess {
final LType.LTypeElement nonBotAnyValue = SetSequence.fromSet(inferValues).findFirst(new IWhereFilter<LType.LTypeElement>() {
public boolean accept(LType.LTypeElement it) {
{
final Object[] values_a0a0a0db0d = {it};
final Object[] values_a0a0a0x0d = {it};
// declare the local variables for the case matchers
Map<String, Object> case_0_a0a0a0a92a3;
Map<String, Object> case_1_b0a0a0a92a3;
Map<String, Object> case_2_c0a0a0a92a3;
Map<String, Object> case_0_a0a0a0a32a3;
Map<String, Object> case_1_b0a0a0a32a3;
Map<String, Object> case_2_c0a0a0a32a3;
if ((case_0_a0a0a0a92a3 = new SequenceMatcher(matcher_a0a0a0a0db0d).match(values_a0a0a0db0d)) != null) {
if ((case_0_a0a0a0a32a3 = new SequenceMatcher(matcher_a0a0a0a0x0d).match(values_a0a0a0x0d)) != null) {
return false;
} else if ((case_1_b0a0a0a92a3 = new SequenceMatcher(matcher_a1a0a0a0db0d).match(values_a0a0a0db0d)) != null) {
} else if ((case_1_b0a0a0a32a3 = new SequenceMatcher(matcher_a1a0a0a0x0d).match(values_a0a0a0x0d)) != null) {
return false;
} else if ((case_2_c0a0a0a92a3 = new SequenceMatcher(WildCardMatcher.INSTANCE).match(values_a0a0a0db0d)) != null) {
} else if ((case_2_c0a0a0a32a3 = new SequenceMatcher(WildCardMatcher.INSTANCE).match(values_a0a0a0x0d)) != null) {
return true;
} else {
throw new PatternMatcherException(values_a0a0a0db0d);
throw new PatternMatcherException(values_a0a0a0x0d);
}
}
}
......@@ -195,9 +189,9 @@ public class AnalysisResultAccess {
}
}
private static final IDataMatcher matcher_a0a0a0a0z0d = new CompositeMatcher(LType.Bot.class);
private static final IDataMatcher matcher_a0a0a0a0db0d = new CompositeMatcher(LType.Bot.class);
private static final IDataMatcher matcher_a1a0a0a0db0d = new CompositeMatcher(LType.Any.class);
private static final IDataMatcher matcher_a0a0a0a0t0d = new CompositeMatcher(LType.Bot.class);
private static final IDataMatcher matcher_a0a0a0a0x0d = new CompositeMatcher(LType.Bot.class);
private static final IDataMatcher matcher_a1a0a0a0x0d = new CompositeMatcher(LType.Any.class);
private static final IDataMatcher matcher_a0a0f = new CompositeMatcher(LType.Nat.class);
private static final IDataMatcher matcher_a1a0f = new CompositeMatcher(LType.Fun.class);
private static final IDataMatcher matcher_a2a0f = new CompositeMatcher(LType.Variant.class, new SimpleMatcher("ltypev"));
......
......@@ -445,7 +445,6 @@ public class LType implements ILatticeOperationProvider<LType.LTypeElement>, IPo
Map<String, Object> case_4_e0a6;
Map<String, Object> case_5_f0a6;
Map<String, Object> case_6_g0a6;
Map<String, Object> case_7_h0a6;
if ((case_0_a0a6 = new SequenceMatcher(matcher_a0a0g, WildCardMatcher.INSTANCE).match(values_a0g)) != null) {
return r;
......@@ -467,10 +466,6 @@ public class LType implements ILatticeOperationProvider<LType.LTypeElement>, IPo
LTypeVariant.LTypeVariantElement rty_a1g0a6 = (LTypeVariant.LTypeVariantElement) case_6_g0a6.get("rty");
LTypeVariant.LTypeVariantElement lty_a0g0a6 = (LTypeVariant.LTypeVariantElement) case_6_g0a6.get("lty");
return LType.Variant.create(LTypeVariant.instance().lub(lty_a0g0a6, rty_a1g0a6));
} else if ((case_7_h0a6 = new SequenceMatcher(matcher_a7a0g, matcher_b7a0g).match(values_a0g)) != null) {
LTypeVariant.LTypeVariantElement elem2_a1h0a6 = (LTypeVariant.LTypeVariantElement) case_7_h0a6.get("elem2");
LTypeVariant.LTypeVariantElement elem1_a0h0a6 = (LTypeVariant.LTypeVariantElement) case_7_h0a6.get("elem1");
return LType.Bot.create();
} else {
throw new PatternMatcherException(values_a0g);
}
......@@ -712,8 +707,6 @@ public class LType implements ILatticeOperationProvider<LType.LTypeElement>, IPo
private static final IDataMatcher matcher_b5a0g = new CompositeMatcher(LType.Fun.class, new SimpleMatcher("r1"), new SimpleMatcher("r2"));
private static final IDataMatcher matcher_a6a0g = new CompositeMatcher(LType.Variant.class, new SimpleMatcher("lty"));
private static final IDataMatcher matcher_b6a0g = new CompositeMatcher(LType.Variant.class, new SimpleMatcher("rty"));
private static final IDataMatcher matcher_a7a0g = new CompositeMatcher(LType.Variant.class, new SimpleMatcher("elem1"));
private static final IDataMatcher matcher_b7a0g = new CompositeMatcher(LType.Variant.class, new SimpleMatcher("elem2"));
private static final IDataMatcher matcher_a0a0i = new CompositeMatcher(LType.Any.class);
private static final IDataMatcher matcher_b1a0i = new CompositeMatcher(LType.Any.class);
private static final IDataMatcher matcher_a2a0i = new CompositeMatcher(LType.Bot.class);
......
......@@ -298,7 +298,7 @@ public class LTypeVariant implements ILatticeOperationProvider<LTypeVariant.LTyp
Map.Immutable<String, LType.LTypeElement> map2_a1c0a41 = (Map.Immutable<String, LType.LTypeElement>) case_2_c0a41_0.get("map2");
Map.Immutable<String, LType.LTypeElement> map1_a0c0a41 = (Map.Immutable<String, LType.LTypeElement>) case_2_c0a41_0.get("map1");
Iterator<java.util.Map.Entry<String, LType.LTypeElement>> it = map1_a0c0a41.entryIterator();
Map.Immutable<String, LType.LTypeElement> result = Map.Immutable.of();
Map.Immutable<String, LType.LTypeElement> result = map1_a0c0a41.__putAll(map2_a1c0a41);
while (it.hasNext()) {
java.util.Map.Entry<String, LType.LTypeElement> entry = it.next();
LType.LTypeElement found = map2_a1c0a41.get(entry.getKey());
......
......@@ -29,36 +29,36 @@ public final class QuerySpecificationHints extends MPSQuerySpecificationHints {
this.concepts.add(MetaAdapterFactory.getConcept(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x10802efe25aL, "jetbrains.mps.lang.core.structure.BaseConcept"));
this.dataTypes = new HashSet<SDataType>();
this.dataTypes.add(UniqueDataType.from("jetbrains.mps.lang.core.structure.string"));
this.dataTypes.add(UniqueDataType.from("jetbrains.mps.lang.core.structure.integer"));
this.dataTypes.add(UniqueDataType.from("jetbrains.mps.lang.core.structure.string"));
this.conceptFeatures = new HashSet<SConceptFeature>();
this.conceptFeatures.add(MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"));
this.conceptFeatures.add(MetaAdapterFactory.getProperty(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x9229981a3b8f721L, 0x9229981a3b8f726L, "label"));
this.conceptFeatures.add(MetaAdapterFactory.getProperty(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x9229981a3b8f721L, 0x9229981a3b8f72aL, "name"));
this.conceptFeatures.add(MetaAdapterFactory.getReferenceLink(0xb802a05692a24fbcL, 0x902ef8e5004c331fL, 0x7980b687ac7456feL, 0x7980b687ac7456ffL, "parent"));
this.conceptFeatures.add(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x9229981a3b8f61cL, 0x9229981a3b8f62fL, "cases"));
this.conceptFeatures.add(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb92d7L, 0x1a4a252762eb92dcL, "t"));
this.conceptFeatures.add(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1fd8e2cf9df802c6L, 0x1fd8e2cf9df802cbL, "elems"));
this.conceptFeatures.add(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb9390L, 0x1a4a252762eb9395L, "ty1"));
this.conceptFeatures.add(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x9229981a3b8f573L, 0x9229981a3b8f58bL, "t"));
this.conceptFeatures.add(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1fd8e2cf9df802cfL, 0x1fd8e2cf9df802d4L, "ty"));
this.conceptFeatures.add(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb9302L, 0x1a4a252762eb9307L, "t1"));
this.conceptFeatures.add(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb936bL, 0x1a4a252762eb9378L, "t2"));
this.conceptFeatures.add(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb9302L, 0x1a4a252762eb930bL, "t2"));
this.conceptFeatures.add(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x9229981a3b8f573L, 0x9229981a3b8f58bL, "t"));
this.conceptFeatures.add(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb93faL, 0x1a4a252762eb93ffL, "ty"));
this.conceptFeatures.add(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb92d7L, 0x1a4a252762eb92dcL, "t"));
this.conceptFeatures.add(MetaAdapterFactory.getReferenceLink(0xb802a05692a24fbcL, 0x902ef8e5004c331fL, 0x7980b687ac7456feL, 0x7980b687ac7456ffL, "parent"));
this.conceptFeatures.add(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb9312L, 0x1a4a252762eb9317L, "t1"));
this.conceptFeatures.add(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb9312L, 0x1a4a252762eb931bL, "t2"));
this.conceptFeatures.add(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb937fL, 0x1a4a252762eb93d5L, "ty"));
this.conceptFeatures.add(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb9390L, 0x1a4a252762eb9395L, "ty1"));
this.conceptFeatures.add(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb93f1L, 0x1a4a252762eb93f6L, "t"));
this.conceptFeatures.add(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb933aL, 0x1a4a252762eb934eL, "bound"));
this.conceptFeatures.add(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb9312L, 0x1a4a252762eb9317L, "t1"));
this.conceptFeatures.add(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x9229981a3b8f61cL, 0x9229981a3b8f621L, "matchee"));
this.conceptFeatures.add(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb937fL, 0x1a4a252762eb9384L, "t"));
this.conceptFeatures.add(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb9322L, 0x1a4a252762eb9336L, "t"));
this.conceptFeatures.add(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb933aL, 0x1a4a252762eb9352L, "body"));
this.conceptFeatures.add(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1fd8e2cf9df802cfL, 0x1fd8e2cf9df802d4L, "ty"));
this.conceptFeatures.add(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x9229981a3b8f61cL, 0x9229981a3b8f621L, "matchee"));
this.conceptFeatures.add(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb936bL, 0x1a4a252762eb9374L, "t1"));
this.conceptFeatures.add(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x9229981a3b8f721L, 0x9229981a3b8f731L, "t"));
this.conceptFeatures.add(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb936bL, 0x1a4a252762eb9378L, "t2"));
this.conceptFeatures.add(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb93f1L, 0x1a4a252762eb93f6L, "t"));
this.conceptFeatures.add(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb937fL, 0x1a4a252762eb9384L, "t"));
this.conceptFeatures.add(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb9390L, 0x1a4a252762eb9399L, "ty2"));
this.conceptFeatures.add(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb9302L, 0x1a4a252762eb9307L, "t1"));
this.conceptFeatures.add(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x9229981a3b8f721L, 0x9229981a3b8f731L, "t"));
this.conceptFeatures.add(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb937fL, 0x1a4a252762eb93d5L, "ty"));
this.conceptFeatures.add(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb9322L, 0x1a4a252762eb9336L, "t"));
this.languages = new HashSet<SLanguage>();
this.languages.add(MetaAdapterFactory.getLanguage(0xb802a05692a24fbcL, 0x902ef8e5004c331fL, "ceab5195-25ea-4f22-9b92-103b95ca8c0c"));
......
......@@ -89,14 +89,14 @@ public final class Typing_AsLTypeVariantQuerySpecification extends MPSQuerySpeci
exportedParameters.add(new ExportedParameter(body, var_out_1, p_out_1));
body.setSymbolicParameters(exportedParameters);
PVariable var__3402207517372652231 = body.getOrCreateVariableByName("3402207517372652231");
PVariable var__3402207517372652234 = body.getOrCreateVariableByName("3402207517372652234");
PVariable var__3402207517372652239 = body.newVirtualVariable();
PVariable var__4863849988524089426 = body.getOrCreateVariableByName("4863849988524089426");
PVariable var__4863849988524089423 = body.getOrCreateVariableByName("4863849988524089423");
PVariable var__4863849988524089431 = body.newVirtualVariable();
new TypeConstraint(body, Tuples.flatTupleOf(var_type), new ConceptKey(MetaAdapterFactory.getConcept(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1fd8e2cf9df802c6L, "VariantTypes.structure.VariantType")));
new PositivePatternCall(body, Tuples.flatTupleOf(var_type, var__3402207517372652231), Typing_AsLTypeVariant_WrappedQuerySpecification.instance().getInternalQueryRepresentation());
new AggregatorConstraint(new BoundAggregator(LTypeVariant.instance().aggregator_lub, LTypeVariant.LTypeVariantElement.class, LTypeVariant.LTypeVariantElement.class), body, Tuples.flatTupleOf(var_type, var__3402207517372652234), Typing_AsLTypeVariant_WrappedQuerySpecification.instance().getInternalQueryRepresentation(), var__3402207517372652239, 1);
new Equality(body, var_out_1, var__3402207517372652239);
new PositivePatternCall(body, Tuples.flatTupleOf(var_type, var__4863849988524089423), Typing_AsLTypeVariant_WrappedQuerySpecification.instance().getInternalQueryRepresentation());
new AggregatorConstraint(new BoundAggregator(LTypeVariant.instance().aggregator_lub, LTypeVariant.LTypeVariantElement.class, LTypeVariant.LTypeVariantElement.class), body, Tuples.flatTupleOf(var_type, var__4863849988524089426), Typing_AsLTypeVariant_WrappedQuerySpecification.instance().getInternalQueryRepresentation(), var__4863849988524089431, 1);
new Equality(body, var_out_1, var__4863849988524089431);
SetSequence.fromSet(bodies).addElement(body);
}
......
......@@ -92,30 +92,30 @@ public final class Typing_AsLTypeVariant_WrappedQuerySpecification extends MPSQu
exportedParameters.add(new ExportedParameter(body, var_out_1, p_out_1));
body.setSymbolicParameters(exportedParameters);
PVariable var__tmp_270 = body.getOrCreateVariableByName("tmp_270");
PVariable var__tmp_271 = body.getOrCreateVariableByName("tmp_271");
PVariable var__tmp_272 = body.getOrCreateVariableByName("tmp_272");
PVariable var__tmp_273 = body.getOrCreateVariableByName("tmp_273");
PVariable var__ty = body.getOrCreateVariableByName("ty");
PVariable var__tmp_267 = body.getOrCreateVariableByName("tmp_267");
PVariable var__tmp_268 = body.getOrCreateVariableByName("tmp_268");
PVariable var__4863849988524114261 = body.newVirtualVariable();
PVariable var__tmp_269 = body.getOrCreateVariableByName("tmp_269");
PVariable var__elem = body.getOrCreateVariableByName("elem");
PVariable var__l = body.getOrCreateVariableByName("l");
PVariable var__tmp_265 = body.getOrCreateVariableByName("tmp_265");
PVariable var__3402207517372677549 = body.newVirtualVariable();
PVariable var__tmp_266 = body.getOrCreateVariableByName("tmp_266");
new TypeConstraint(body, Tuples.flatTupleOf(var_type), new ConceptKey(MetaAdapterFactory.getConcept(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1fd8e2cf9df802c6L, "VariantTypes.structure.VariantType")));
new PositivePatternCall(body, Tuples.flatTupleOf(), Typing_AsLTypeVariant_0_switchCommonQuerySpecification.instance().getInternalQueryRepresentation());
new TypeConstraint(body, Tuples.staticArityFlatTupleOf(var_type, var__tmp_265), new ConceptFeatureKey(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1fd8e2cf9df802c6L, 0x1fd8e2cf9df802cbL, "elems")));
new Equality(body, var__elem, var__tmp_265);
new TypeConstraint(body, Tuples.staticArityFlatTupleOf(var__elem, var__tmp_266), new ConceptFeatureKey(MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name")));
new Equality(body, var__l, var__tmp_266);
new TypeConstraint(body, Tuples.staticArityFlatTupleOf(var__elem, var__tmp_267), new ConceptFeatureKey(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1fd8e2cf9df802cfL, 0x1fd8e2cf9df802d4L, "ty")));
new PositivePatternCall(body, Tuples.flatTupleOf(var__tmp_267, var__tmp_268), Typing_AsLTypeQuerySpecification.instance().getInternalQueryRepresentation());
new Equality(body, var__ty, var__tmp_268);
new TypeConstraint(body, Tuples.staticArityFlatTupleOf(var_type, var__tmp_269), new ConceptFeatureKey(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1fd8e2cf9df802c6L, 0x1fd8e2cf9df802cbL, "elems")));
new Equality(body, var__elem, var__tmp_269);
new TypeConstraint(body, Tuples.staticArityFlatTupleOf(var__elem, var__tmp_270), new ConceptFeatureKey(MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name")));
new Equality(body, var__l, var__tmp_270);
new TypeConstraint(body, Tuples.staticArityFlatTupleOf(var__elem, var__tmp_271), new ConceptFeatureKey(MetaAdapterFactory.getContainmentLink(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1fd8e2cf9df802cfL, 0x1fd8e2cf9df802d4L, "ty")));
new PositivePatternCall(body, Tuples.flatTupleOf(var__tmp_271, var__tmp_272), Typing_AsLTypeQuerySpecification.instance().getInternalQueryRepresentation());
new Equality(body, var__ty, var__tmp_272);
new ExpressionEvaluation(body, new IExpressionEvaluator() {
@Override
public String getShortDescription() {
return "3402207517372677549";
return "4863849988524114261";
}
@Override
......@@ -128,9 +128,9 @@ public final class Typing_AsLTypeVariant_WrappedQuerySpecification extends MPSQu
return LTypeVariant.instance().singleton((CodeGenerationHelper.demandWrapString(valueProvider.getValue("l"))), ((LType.LTypeElement) valueProvider.getValue("ty")));
}
}, var__3402207517372677549, false);
new Equality(body, var__tmp_269, var__3402207517372677549);
new Equality(body, var__tmp_269, var_out_1);
}, var__4863849988524114261, false);
new Equality(body, var__tmp_273, var__4863849988524114261);
new Equality(body, var__tmp_273, var_out_1);
SetSequence.fromSet(bodies).addElement(body);
}
......@@ -144,8 +144,8 @@ public final class Typing_AsLTypeVariant_WrappedQuerySpecification extends MPSQu
exportedParameters.add(new ExportedParameter(body, var_out_1, p_out_1));
body.setSymbolicParameters(exportedParameters);
PVariable var__tmp_270 = body.getOrCreateVariableByName("tmp_270");
PVariable var__3402207517372677567 = body.newVirtualVariable();
PVariable var__4863849988524114279 = body.newVirtualVariable();
PVariable var__tmp_274 = body.getOrCreateVariableByName("tmp_274");
new TypeConstraint(body, Tuples.flatTupleOf(var_type), new ConceptKey(MetaAdapterFactory.getConcept(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1fd8e2cf9df802c6L, "VariantTypes.structure.VariantType")));
new PositivePatternCall(body, Tuples.flatTupleOf(), Typing_AsLTypeVariant_0_switchCommonQuerySpecification.instance().getInternalQueryRepresentation());
......@@ -153,7 +153,7 @@ public final class Typing_AsLTypeVariant_WrappedQuerySpecification extends MPSQu
@Override
public String getShortDescription() {
return "3402207517372677567";
return "4863849988524114279";
}
@Override
......@@ -166,9 +166,9 @@ public final class Typing_AsLTypeVariant_WrappedQuerySpecification extends MPSQu
return LTypeVariant.instance().empty();
}
}, var__3402207517372677567, false);
new Equality(body, var__tmp_270, var__3402207517372677567);
new Equality(body, var__tmp_270, var_out_1);
}, var__4863849988524114279, false);
new Equality(body, var__tmp_274, var__4863849988524114279);
new Equality(body, var__tmp_274, var_out_1);
SetSequence.fromSet(bodies).addElement(body);
}
......
......@@ -34,10 +34,10 @@ import java.util.Arrays;
import org.eclipse.viatra.query.runtime.matchers.psystem.IValueProvider;
@SuppressWarnings("all")
public final class Typing_CheckFailureQuerySpecification extends MPSQuerySpecification {
public final class Typing_CheckErrorQuerySpecification extends MPSQuerySpecification {
private Typing_CheckFailureQuerySpecification() {
super(Typing_CheckFailureQuerySpecification.GeneratedPQuery.INSTANCE);
private Typing_CheckErrorQuerySpecification() {
super(Typing_CheckErrorQuerySpecification.GeneratedPQuery.INSTANCE);
}
@Override
......@@ -55,17 +55,17 @@ public final class Typing_CheckFailureQuerySpecification extends MPSQuerySpecifi
return AbstractScope.class;
}
public static Typing_CheckFailureQuerySpecification instance() {
return Typing_CheckFailureQuerySpecification.LazyHolder.INSTANCE;
public static Typing_CheckErrorQuerySpecification instance() {
return Typing_CheckErrorQuerySpecification.LazyHolder.INSTANCE;
}
@SuppressWarnings("all")
private static final class LazyHolder {
private static final Typing_CheckFailureQuerySpecification INSTANCE = make();
private static final Typing_CheckErrorQuerySpecification INSTANCE = make();
public static Typing_CheckFailureQuerySpecification make() {
return new Typing_CheckFailureQuerySpecification();
public static Typing_CheckErrorQuerySpecification make() {
return new Typing_CheckErrorQuerySpecification();
}
}
......@@ -76,7 +76,7 @@ public final class Typing_CheckFailureQuerySpecification extends MPSQuerySpecifi
private final PParameter p_out_1 = new PParameter("out_1", "jetbrains.mps.lang.core.structure.BaseConcept", new ConceptKey(MetaAdapterFactory.getConcept(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x10802efe25aL, "jetbrains.mps.lang.core.structure.BaseConcept")));
private final PParameter p_out_2 = new PParameter("out_2", "jetbrains.mps.lang.core.structure.string", new JavaTransitiveInstancesKey(String.class));
private static final Typing_CheckFailureQuerySpecification.GeneratedPQuery INSTANCE = new Typing_CheckFailureQuerySpecification.GeneratedPQuery();
private static final Typing_CheckErrorQuerySpecification.GeneratedPQuery INSTANCE = new Typing_CheckErrorQuerySpecification.GeneratedPQuery();
@Override
protected Set<PBody> doGetContainedBodies() throws QueryInitializationException {
......@@ -94,23 +94,23 @@ public final class Typing_CheckFailureQuerySpecification extends MPSQuerySpecifi
exportedParameters.add(new ExportedParameter(body, var_out_2, p_out_2));
body.setSymbolicParameters(exportedParameters);
PVariable var__4863849988524069097 = body.newConstantVariable(Integer.parseInt("0"));
PVariable var__term = body.getOrCreateVariableByName("term");
PVariable var__4863849988524111184 = body.newVirtualVariable();
PVariable var__tmp_28 = body.getOrCreateVariableByName("tmp_28");
PVariable var__tmp_27 = body.getOrCreateVariableByName("tmp_27");
PVariable var__3402207517372632832 = body.newConstantVariable(Integer.parseInt("0"));
PVariable var__3402207517372674517 = body.newVirtualVariable();
PVariable var__tmp_26 = body.getOrCreateVariableByName("tmp_26");
new TypeConstraint(body, Tuples.flatTupleOf(var_out_1), new ConceptKey(MetaAdapterFactory.getConcept(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x10802efe25aL, "jetbrains.mps.lang.core.structure.BaseConcept")));
new TypeConstraint(body, Tuples.flatTupleOf(var__term), new ConceptKey(MetaAdapterFactory.getInterfaceConcept(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb92d1L, "VariantTypes.structure.Term")));
new PositivePatternCall(body, Tuples.flatTupleOf(var__term, var__tmp_26), Typing_RequiredQuerySpecification.instance().getInternalQueryRepresentation());
new NegativePatternCall(body, Tuples.flatTupleOf(var__term), Typing_CheckQuerySpecification.instance().getInternalQueryRepresentation());
new Equality(body, var__tmp_27, var__3402207517372632832);
new Equality(body, var__tmp_27, var__4863849988524069097);
new ExpressionEvaluation(body, new IExpressionEvaluator() {
@Override
public String getShortDescription() {
return "3402207517372674517";
return "4863849988524111184";
}
@Override
......@@ -123,8 +123,8 @@ public final class Typing_CheckFailureQuerySpecification extends MPSQuerySpecifi
return String.format("\"check failed\"");
}
}, var__3402207517372674517, false);
new Equality(body, var__tmp_28, var__3402207517372674517);
}, var__4863849988524111184, false);
new Equality(body, var__tmp_28, var__4863849988524111184);
new Equality(body, var__tmp_27, var_out_0);
new Equality(body, var__term, var_out_1);
new Equality(body, var__tmp_28, var_out_2);
......@@ -137,7 +137,7 @@ public final class Typing_CheckFailureQuerySpecification extends MPSQuerySpecifi
@Override
public String getFullyQualifiedName() {
return "Typing.checkFailure";
return "Typing.checkError";
}
@Override
......
......@@ -89,14 +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__3402207517372652181 = body.newVirtualVariable();
PVariable var__3402207517372652176 = body.getOrCreateVariableByName("3402207517372652176");
PVariable var__3402207517372652173 = body.getOrCreateVariableByName("3402207517372652173");
PVariable var__4863849988524089373 = body.newVirtualVariable();
PVariable var__4863849988524089368 = body.getOrCreateVariableByName("4863849988524089368");
PVariable var__4863849988524089365 = body.getOrCreateVariableByName("4863849988524089365");
new TypeConstraint(body, Tuples.flatTupleOf(var_term), new ConceptKey(MetaAdapterFactory.getInterfaceConcept(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb92d1L, "VariantTypes.structure.Term")));
new PositivePatternCall(body, Tuples.flatTupleOf(var_term, var__3402207517372652173), 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__3402207517372652176), Typing_Infer_WrappedQuerySpecification.instance().getInternalQueryRepresentation(), var__3402207517372652181, 1);
new Equality(body, var_out_1, var__3402207517372652181);
new PositivePatternCall(body, Tuples.flatTupleOf(var_term, var__4863849988524089365), 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__4863849988524089368), Typing_Infer_WrappedQuerySpecification.instance().getInternalQueryRepresentation(), var__4863849988524089373, 1);
new Equality(body, var_out_1, var__4863849988524089373);
SetSequence.fromSet(bodies).addElement(body);
}
......
......@@ -94,14 +94,14 @@ public final class Typing_LookupFailureQuerySpecification extends MPSQuerySpecif
exportedParameters.add(new ExportedParameter(body, var_out_2, p_out_2));
body.setSymbolicParameters(exportedParameters);
PVariable var__3402207517372649920 = body.newConstantVariable(Integer.parseInt("0"));
PVariable var__term = body.getOrCreateVariableByName("term");
PVariable var__v = body.getOrCreateVariableByName("v");
PVariable var__match_a0a0a0e = body.getOrCreateVariableByName("match_a0a0a0e");
PVariable var__tmp_24 = body.getOrCreateVariableByName("tmp_24");
PVariable var__tmp_23 = body.getOrCreateVariableByName("tmp_23");
PVariable var__3402207517372674490 = body.newVirtualVariable();
PVariable var__4863849988524087111 = body.newConstantVariable(Integer.parseInt("0"));
PVariable var__tmp_25 = body.getOrCreateVariableByName("tmp_25");
PVariable var__4863849988524111157 = body.newVirtualVariable();
new TypeConstraint(body, Tuples.flatTupleOf(var_out_1), new ConceptKey(MetaAdapterFactory.getConcept(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x10802efe25aL, "jetbrains.mps.lang.core.structure.BaseConcept")));
new PositivePatternCall(body, Tuples.flatTupleOf(var__term), Typing_LookupFailure_0_switchCommonQuerySpecification.instance().getInternalQueryRepresentation());
......@@ -109,12 +109,12 @@ public final class Typing_LookupFailureQuerySpecification extends MPSQuerySpecif
new TypeConstraint(body, Tuples.flatTupleOf(var__match_a0a0a0e), new ConceptKey(MetaAdapterFactory.getConcept(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb92e0L, "VariantTypes.structure.Var")));
new Equality(body, var__v, var__match_a0a0a0e);
new NegativePatternCall(body, Tuples.flatTupleOf(var__term, var__v, var__tmp_23), Typing_LookupQuerySpecification.instance().getInternalQueryRepresentation());
new Equality(body, var__tmp_24, var__3402207517372649920);
new Equality(body, var__tmp_24, var__4863849988524087111);
new ExpressionEvaluation(body, new IExpressionEvaluator() {
@Override
public String getShortDescription() {
return "3402207517372674490";
return "4863849988524111157";
}
@Override
......@@ -127,8 +127,8 @@ public final class Typing_LookupFailureQuerySpecification extends MPSQuerySpecif
return String.format("\"variable not bound\"");
}
}, var__3402207517372674490, false);
new Equality(body, var__tmp_25, var__3402207517372674490);
}, var__4863849988524111157, false);
new Equality(body, var__tmp_25, var__4863849988524111157);
new Equality(body, var__tmp_24, var_out_0);
new Equality(body, var__term, var_out_1);
new Equality(body, var__tmp_25, var_out_2);
......
......@@ -606,8 +606,10 @@ public final class Typing_LookupQuerySpecification extends MPSQuerySpecification
body.setSymbolicParameters(exportedParameters);
PVariable var__p = body.getOrCreateVariableByName("p");
PVariable var__4863849988524111886 = body.newVirtualVariable();
PVariable var__t = body.getOrCreateVariableByName("t");
PVariable var__match_a0a7c0i = body.getOrCreateVariableByName("match_a0a7c0i");
PVariable var__4863849988524111870 = body.newVirtualVariable();
PVariable var__match_a7c0i = body.getOrCreateVariableByName("match_a7c0i");
PVariable var__tmp_79 = body.getOrCreateVariableByName("tmp_79");
PVariable var__tmp_85 = body.getOrCreateVariableByName("tmp_85");
......@@ -616,13 +618,11 @@ public final class Typing_LookupQuerySpecification extends MPSQuerySpecification
PVariable var__ty1 = body.getOrCreateVariableByName("ty1");
PVariable var__tmp_82 = body.getOrCreateVariableByName("tmp_82");
PVariable var__ty = body.getOrCreateVariableByName("ty");
PVariable var__3402207517372675203 = body.newVirtualVariable();
PVariable var__tmp_81 = body.getOrCreateVariableByName("tmp_81");
PVariable var__tmp_84 = body.getOrCreateVariableByName("tmp_84");
PVariable var__tmp_83 = body.getOrCreateVariableByName("tmp_83");
PVariable var__tmp_80 = body.getOrCreateVariableByName("tmp_80");
PVariable var__name = body.getOrCreateVariableByName("name");
PVariable var__3402207517372675219 = body.newVirtualVariable();
new TypeConstraint(body, Tuples.flatTupleOf(var_term), new ConceptKey(MetaAdapterFactory.getInterfaceConcept(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb92d1L, "VariantTypes.structure.Term")));
new TypeConstraint(body, Tuples.flatTupleOf(var_var), new ConceptKey(MetaAdapterFactory.getConcept(0x3ace5b6c22d54933L, 0x9217595f2ebf8d6aL, 0x1a4a252762eb92e0L, "VariantTypes.structure.Var")));
......@@ -646,7 +646,7 @@ public final class Typing_LookupQuerySpecification extends MPSQuerySpecification
@Override
public String getShortDescription() {
return "3402207517372675203";
return "4863849988524111870";
}
@Override
......@@ -659,14 +659,14 @@ public final class Typing_LookupQuerySpecification extends MPSQuerySpecification
return LType.instance().funParamType(((LType.LTypeElement) valueProvider.getValue("ty")));
}
}, var__3402207517372675203, false);
new Equality(body, var__tmp_84, var__3402207517372675203);
}, var__4863849988524111870, false);