From 054ecdaa6ca8bd038e6f11314ea7f11704c71f3f Mon Sep 17 00:00:00 2001 From: Andrey Breslav Date: Sat, 16 Nov 2013 16:02:26 +0400 Subject: [PATCH] More info in the assert message --- compiler/backend/src/org/jetbrains/jet/codegen/AsmUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/backend/src/org/jetbrains/jet/codegen/AsmUtil.java b/compiler/backend/src/org/jetbrains/jet/codegen/AsmUtil.java index 5442f375663..89f181d5946 100644 --- a/compiler/backend/src/org/jetbrains/jet/codegen/AsmUtil.java +++ b/compiler/backend/src/org/jetbrains/jet/codegen/AsmUtil.java @@ -194,7 +194,7 @@ public class AsmUtil { } Integer defaultMapping = visibilityToAccessFlag.get(descriptor.getVisibility()); if (defaultMapping == null) { - throw new IllegalStateException(descriptor.getVisibility() + " is not a valid visibility in backend."); + throw new IllegalStateException(descriptor.getVisibility() + " is not a valid visibility in backend. Descriptor: " + descriptor); } return defaultMapping; }