Minor change in JS backend: improve exception message.
This commit is contained in:
@@ -120,7 +120,8 @@ public final class JsDescriptorUtils {
|
||||
declarationDescriptor = ((ThisReceiver) receiverParameter).getDeclarationDescriptor();
|
||||
}
|
||||
else {
|
||||
throw new UnsupportedOperationException("Unsupported receiver type: " + receiverParameter);
|
||||
throw new UnsupportedOperationException("Unsupported receiver type: " + receiverParameter.getClass() +
|
||||
", receiverParameter = " + receiverParameter);
|
||||
}
|
||||
|
||||
return declarationDescriptor.getOriginal();
|
||||
|
||||
Reference in New Issue
Block a user