Minor change in JS backend: improve exception message.

This commit is contained in:
Zalim Bashorov
2014-02-26 17:47:37 +04:00
parent fb7165c7fa
commit d55548a1c8
@@ -120,7 +120,8 @@ public final class JsDescriptorUtils {
declarationDescriptor = ((ThisReceiver) receiverParameter).getDeclarationDescriptor(); declarationDescriptor = ((ThisReceiver) receiverParameter).getDeclarationDescriptor();
} }
else { else {
throw new UnsupportedOperationException("Unsupported receiver type: " + receiverParameter); throw new UnsupportedOperationException("Unsupported receiver type: " + receiverParameter.getClass() +
", receiverParameter = " + receiverParameter);
} }
return declarationDescriptor.getOriginal(); return declarationDescriptor.getOriginal();