From 3b1161e97a4e3b7418d28a6fedff61d4ca5ace0a Mon Sep 17 00:00:00 2001 From: ahmad Date: Sun, 12 May 2024 14:44:17 +0200 Subject: [PATCH] Add recursiveOwnerChain to TypedAssignment --- .../java/de/maishai/typedast/typedclass/TypedAssignment.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/de/maishai/typedast/typedclass/TypedAssignment.java b/src/main/java/de/maishai/typedast/typedclass/TypedAssignment.java index b7313bc..6ae0a71 100644 --- a/src/main/java/de/maishai/typedast/typedclass/TypedAssignment.java +++ b/src/main/java/de/maishai/typedast/typedclass/TypedAssignment.java @@ -18,7 +18,7 @@ import static de.maishai.typedast.Help.TypedExpressionHelp.convertExpression; public class TypedAssignment implements TypedStatement { private String varName; private TypedExpression value; - // private TypedExpression recursiveOwnerChain; + private TypedExpression recursiveOwnerChain; private Type type; public TypedAssignment(TypedClass clas, Assignment untyped) { @@ -28,7 +28,7 @@ public class TypedAssignment implements TypedStatement { public void convertToTypedAssignment(TypedClass clas, Assignment untyped) { varName = untyped.location().id(); value = convertExpression(clas, untyped.value()); - // recursiveOwnerChain = convertExpression( clas, untyped.location().recursiveOwnerChain()); + recursiveOwnerChain = convertExpression( clas, untyped.location().recursiveOwnerChain()); } @Override