Minor, add assertion message

This commit is contained in:
Alexander Udalov
2014-07-06 05:57:34 +04:00
parent d373c09cfb
commit 125985c91d
@@ -78,7 +78,7 @@ public class OverloadResolver {
inPackages.put(getFqName(klass), klass.getConstructors());
}
else if (!(containingDeclaration instanceof FunctionDescriptor)) {
throw new IllegalStateException();
throw new IllegalStateException("Illegal class container: " + containingDeclaration);
}
}
}