Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEd Willink2019-12-02 08:57:15 +0000
committerEd Willink2019-12-02 08:57:15 +0000
commitd29afadfff0e43c789674bc0d064339ca5aab0ed (patch)
tree9e7db090e4f10b248cddd239d154da2a8615dc64
parentf3f1762c60d101f51c75e89b41ca80bee3594b6d (diff)
downloadorg.eclipse.qvtd-d29afadfff0e43c789674bc0d064339ca5aab0ed.tar.gz
org.eclipse.qvtd-d29afadfff0e43c789674bc0d064339ca5aab0ed.tar.xz
org.eclipse.qvtd-d29afadfff0e43c789674bc0d064339ca5aab0ed.zip
2
-rw-r--r--plugins/org.eclipse.qvtd.compiler/src/org/eclipse/qvtd/compiler/internal/qvtb2qvts/ExpressionSynthesizer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.qvtd.compiler/src/org/eclipse/qvtd/compiler/internal/qvtb2qvts/ExpressionSynthesizer.java b/plugins/org.eclipse.qvtd.compiler/src/org/eclipse/qvtd/compiler/internal/qvtb2qvts/ExpressionSynthesizer.java
index 1bc7fbb5e..4a2330231 100644
--- a/plugins/org.eclipse.qvtd.compiler/src/org/eclipse/qvtd/compiler/internal/qvtb2qvts/ExpressionSynthesizer.java
+++ b/plugins/org.eclipse.qvtd.compiler/src/org/eclipse/qvtd/compiler/internal/qvtb2qvts/ExpressionSynthesizer.java
@@ -315,7 +315,7 @@ public abstract class ExpressionSynthesizer extends AbstractExtendingQVTbaseVisi
}
protected @NonNull Node createNullLiteralNode(@NonNull NullLiteralExp nullLiteralExp) {
- return context.createNullLiteralNode(!resultUtility.isConditional(), resultUtility, nullLiteralExp);
+ return context.createNullLiteralNode(!resultUtility.isConditional(), getRequiredInitUtility(nullLiteralExp), nullLiteralExp);
}
protected @NonNull Node createNumericLiteralNode(@NonNull InitUtility utility, @NonNull Number numberValue, @NonNull NumericLiteralExp numericLiteralExp) {

Back to the top