IDEA-51934: Groovy constructor calls should be disambiguated by parameter count
[idea/community.git] / plugins / groovy / src / org / jetbrains / plugins / groovy / lang / resolve / processors / CompletionProcessor.java
index 16209a63aa010eda869331da52efef759b4e32e4..d60adfc72832373d7f7a260a5adbe2242e17b4fb 100644 (file)
@@ -55,6 +55,6 @@ public class CompletionProcessor extends ResolverProcessor {
 
   public GroovyResolveResult[] getCandidates() {
     if (myCandidates.size() == 0) return GroovyResolveResult.EMPTY_ARRAY;
-    return ResolveUtil.filterSameSignatureCandidates(myCandidates);
+    return ResolveUtil.filterSameSignatureCandidates(myCandidates, -1);
   }
 }
\ No newline at end of file