mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-123820 Typeless Groovy catch parameter is Exception
This commit is contained in:
+1
-1
@@ -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>() {
|
||||
|
||||
Reference in New Issue
Block a user