Added assert message.
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user