IDEA-123820 Typeless Groovy catch parameter is Exception

This commit is contained in:
Max Medvedev
2014-04-11 15:12:57 +04:00
parent 91d363f3ab
commit 471e1f9c18
@@ -99,7 +99,7 @@ public class GrParameterImpl extends GrVariableBaseImpl<GrParameterStub> impleme
return super.getTypeGroovy();
}
else if (parent instanceof GrCatchClause) {
return TypesUtil.createTypeByFQClassName(CommonClassNames.JAVA_LANG_THROWABLE, this);
return TypesUtil.createTypeByFQClassName(CommonClassNames.JAVA_LANG_EXCEPTION, this);
}
return KnownRecursionManager.getInstance().run(this, new Computable<PsiType>() {