Fixed EA-63488

This commit is contained in:
Valentin Kipyatkov
2014-12-24 14:28:19 +03:00
parent 9164c77a7e
commit 24f79e4817
@@ -199,8 +199,9 @@ public class SpecifyTypeExplicitlyAction extends PsiElementBaseIntentionAction {
@Override
public void templateFinished(Template template, boolean brokenOff) {
JetTypeReference typeRef = declaration.getTypeReference();
assert typeRef != null;
ShortenReferences.INSTANCE$.process(typeRef);
if (typeRef != null) {
ShortenReferences.INSTANCE$.process(typeRef);
}
}
});
}