From bc4330aac53609bcb038c4307f8e6f9023afc756 Mon Sep 17 00:00:00 2001 From: Max Medvedev Date: Sun, 14 Oct 2012 19:48:39 +0300 Subject: [PATCH] remove incorrect assert --- .../impl/statements/expressions/path/GrIndexPropertyImpl.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/plugins/groovy/src/org/jetbrains/plugins/groovy/lang/psi/impl/statements/expressions/path/GrIndexPropertyImpl.java b/plugins/groovy/src/org/jetbrains/plugins/groovy/lang/psi/impl/statements/expressions/path/GrIndexPropertyImpl.java index fab191808cab..1d05382a8e8d 100644 --- a/plugins/groovy/src/org/jetbrains/plugins/groovy/lang/psi/impl/statements/expressions/path/GrIndexPropertyImpl.java +++ b/plugins/groovy/src/org/jetbrains/plugins/groovy/lang/psi/impl/statements/expressions/path/GrIndexPropertyImpl.java @@ -261,8 +261,6 @@ public class GrIndexPropertyImpl extends GrExpressionImpl implements GrIndexProp public PsiType getNominalType() { if (getParent() instanceof GrThrowStatement) return super.getNominalType(); - LOG.assertTrue(PsiUtil.isLValue(this), "it is assumed that nominal type is invoked only for assignment lhs"); - GroovyResolveResult[] candidates = multiResolve(true); if (candidates.length == 1) { return extractLastParameterType(candidates[0]);