Fixed EA-54056.
This commit is contained in:
@@ -56,7 +56,7 @@ public class SpecifyTypeExplicitlyFix extends PsiElementBaseIntentionAction {
|
|||||||
setText(JetBundle.message("specify.type.explicitly.add.return.type.action.name"));
|
setText(JetBundle.message("specify.type.explicitly.add.return.type.action.name"));
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
assert false : "Couldn't find property or function " + JetPsiUtil.getElementTextWithContext((JetElement) element);
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
return !getTypeForDeclaration(declaration).isError();
|
return !getTypeForDeclaration(declaration).isError();
|
||||||
|
|||||||
Reference in New Issue
Block a user