From 32cdddd108159f64a37710422126cf7c953c5cc1 Mon Sep 17 00:00:00 2001 From: mmews Date: Wed, 21 Feb 2024 15:57:45 +0100 Subject: [PATCH] fix recursion --- .../org/eclipse/n4js/postprocessing/AbstractPolyProcessor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 23e412e2c3..28c1b2ad5b 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 @@ -172,7 +172,7 @@ private boolean isPoly(PropertyAssignment pa) { * Convenience method for {@link #isRootPoly(Expression)}, accepting any type of EObject. */ boolean isRootPoly(EObject obj) { - return (obj instanceof Expression) ? isRootPoly(obj) : false; + return (obj instanceof Expression) ? isRootPoly((Expression) obj) : false; } /**