From e07e5e9b4225909f3013ab25afe89d6b3e9ca37b Mon Sep 17 00:00:00 2001 From: "pl@gohorb.ba-horb.de" Date: Fri, 29 Jan 2021 12:29:08 +0100 Subject: [PATCH] modified: src/main/java/de/dhbwstuttgart/syntaxtree/AbstractASTWalker.java --- .../java/de/dhbwstuttgart/syntaxtree/AbstractASTWalker.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/de/dhbwstuttgart/syntaxtree/AbstractASTWalker.java b/src/main/java/de/dhbwstuttgart/syntaxtree/AbstractASTWalker.java index b7b04084..02331429 100644 --- a/src/main/java/de/dhbwstuttgart/syntaxtree/AbstractASTWalker.java +++ b/src/main/java/de/dhbwstuttgart/syntaxtree/AbstractASTWalker.java @@ -187,6 +187,9 @@ public abstract class AbstractASTWalker implements ASTVisitor{ public void visit(MethodCall methodCall) { methodCall.receiver.accept(this); methodCall.getArgumentList().accept(this); + methodCall.getArgumentList() + .getArguments() + .forEach(x -> x.getType().accept(this)); } @Override