Skip to content
Browse files

diag in JDR

  • Loading branch information...
1 parent f50a31c commit 8a5aa0ff6f884846bfe47c322ab4c64cf6a3b671 @stepancheg stepancheg committed Apr 19, 2012
View
4 compiler/frontend.java/src/org/jetbrains/jet/lang/resolve/java/JavaTypeTransformer.java
@@ -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.
Something went wrong with that request. Please try again.