Permalink
Browse files

diag in JDR

  • Loading branch information...
Stepan Koltsov
Stepan Koltsov committed Apr 19, 2012
1 parent f50a31c commit 8a5aa0ff6f884846bfe47c322ab4c64cf6a3b671
@@ -162,7 +162,9 @@ public JetType visitClassType(PsiClassType classType) {
PsiType[] psiArguments = classType.getParameters();
if (parameters.size() != psiArguments.length) {
- throw new IllegalStateException();
+ throw new IllegalStateException(
+ "parameters = " + parameters.size() + ", actual arguments = " + psiArguments.length
+ + " in " + classType.getPresentableText());
}
for (int i = 0; i < parameters.size(); i++) {

0 comments on commit 8a5aa0f

Please sign in to comment.