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 @Override
public void templateFinished(Template template, boolean brokenOff) { public void templateFinished(Template template, boolean brokenOff) {
JetTypeReference typeRef = declaration.getTypeReference(); JetTypeReference typeRef = declaration.getTypeReference();
assert typeRef != null; if (typeRef != null) {
ShortenReferences.INSTANCE$.process(typeRef); ShortenReferences.INSTANCE$.process(typeRef);
}
} }
}); });
} }