Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEd Willink2016-11-06 15:21:43 +0000
committerEd Willink2016-11-06 15:21:43 +0000
commitc518047ac717ef61b883f4c5fadc7d6b49d9ba5b (patch)
tree7c16e200bd909f471b0bf4f630fe06d651eb0961 /plugins
parent4c3f88b1a0359ce32c8b67cc55a784e046193a6d (diff)
downloadorg.eclipse.qvtd-c518047ac717ef61b883f4c5fadc7d6b49d9ba5b.tar.gz
org.eclipse.qvtd-c518047ac717ef61b883f4c5fadc7d6b49d9ba5b.tar.xz
org.eclipse.qvtd-c518047ac717ef61b883f4c5fadc7d6b49d9ba5b.zip
[506806] Ensure DataType Nodes have a TypedElement
Diffstat (limited to 'plugins')
-rw-r--r--plugins/org.eclipse.qvtd.compiler/src/org/eclipse/qvtd/compiler/internal/qvtp2qvts/RegionUtil.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/org.eclipse.qvtd.compiler/src/org/eclipse/qvtd/compiler/internal/qvtp2qvts/RegionUtil.java b/plugins/org.eclipse.qvtd.compiler/src/org/eclipse/qvtd/compiler/internal/qvtp2qvts/RegionUtil.java
index d51ad86bf..cd109163a 100644
--- a/plugins/org.eclipse.qvtd.compiler/src/org/eclipse/qvtd/compiler/internal/qvtp2qvts/RegionUtil.java
+++ b/plugins/org.eclipse.qvtd.compiler/src/org/eclipse/qvtd/compiler/internal/qvtp2qvts/RegionUtil.java
@@ -111,7 +111,9 @@ public class RegionUtil
ClassDatum classDatum = region.getSchedulerConstants().getClassDatum(type, typedModel);
// DomainUsage domainUsage = parentNode.getClassDatumAnalysis().getDomainUsage();
ClassDatumAnalysis classDatumAnalysis = region.getSchedulerConstants().getClassDatumAnalysis(classDatum);
- return PatternTypedNodeImpl.create(nodeRole, region, name, classDatumAnalysis, true);
+ Node node = PatternTypedNodeImpl.create(nodeRole, region, name, classDatumAnalysis, true);
+ node.addTypedElement(property);
+ return node;
}
public static @NonNull Node createDependencyClassNode(@NonNull Node parentNode, @NonNull NavigationAssignment navigationAssignment) {

Back to the top