Added assert message.

This commit is contained in:
Evgeny Gerashchenko
2013-02-04 16:15:49 +04:00
parent 658dbda6d4
commit 62bdd75c43
@@ -84,7 +84,7 @@ public class SpecifyTypeExplicitlyAction extends PsiElementBaseIntentionAction {
addTypeAnnotation(project, function, type); addTypeAnnotation(project, function, type);
} }
else { else {
assert false; throw new IllegalStateException("Unexpected parent: " + parent);
} }
} }