From 66733bc6058cc059f82a5e634683813abbfb54c3 Mon Sep 17 00:00:00 2001 From: mmews Date: Wed, 21 Feb 2024 15:47:54 +0100 Subject: [PATCH] fix recursion --- .../eclipse/n4js/postprocessing/AbstractPolyProcessor.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/org.eclipse.n4js/src/org/eclipse/n4js/postprocessing/AbstractPolyProcessor.java b/plugins/org.eclipse.n4js/src/org/eclipse/n4js/postprocessing/AbstractPolyProcessor.java index 35aae015b0..23e412e2c3 100644 --- a/plugins/org.eclipse.n4js/src/org/eclipse/n4js/postprocessing/AbstractPolyProcessor.java +++ b/plugins/org.eclipse.n4js/src/org/eclipse/n4js/postprocessing/AbstractPolyProcessor.java @@ -75,10 +75,10 @@ abstract class AbstractPolyProcessor extends AbstractProcessor { */ boolean isPoly(EObject obj) { if (obj instanceof Expression) { - return isPoly(obj); + return isPoly((Expression) obj); } if (obj instanceof PropertyAssignment) { - return isPoly(obj); + return isPoly((PropertyAssignment) obj); } return false; }