diff --git a/compiler/backend/src/org/jetbrains/jet/codegen/context/CodegenContext.java b/compiler/backend/src/org/jetbrains/jet/codegen/context/CodegenContext.java index 0fd406d49fb..93eb97144f8 100644 --- a/compiler/backend/src/org/jetbrains/jet/codegen/context/CodegenContext.java +++ b/compiler/backend/src/org/jetbrains/jet/codegen/context/CodegenContext.java @@ -83,7 +83,7 @@ public abstract class CodegenContext { @NotNull public final ClassDescriptor getThisDescriptor() { if (thisDescriptor == null) { - throw new UnsupportedOperationException(); + throw new UnsupportedOperationException("Context doesn't have a \"this\": " + this); } return thisDescriptor; }