From f82e46e3acff0c66527413373b968cb36926eeb5 Mon Sep 17 00:00:00 2001 From: Andrey Breslav Date: Fri, 4 May 2012 20:01:21 +0400 Subject: [PATCH] Proper message My little daily WTF... --- .../frontend/src/org/jetbrains/jet/lang/types/TypeUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/frontend/src/org/jetbrains/jet/lang/types/TypeUtils.java b/compiler/frontend/src/org/jetbrains/jet/lang/types/TypeUtils.java index e7c6b4a7434..3e2c231da4c 100644 --- a/compiler/frontend/src/org/jetbrains/jet/lang/types/TypeUtils.java +++ b/compiler/frontend/src/org/jetbrains/jet/lang/types/TypeUtils.java @@ -369,7 +369,7 @@ public class TypeUtils { @NotNull public static JetType makeUnsubstitutedType(ClassDescriptor classDescriptor, JetScope unsubstitutedMemberScope) { if (ErrorUtils.isError(classDescriptor)) { - return ErrorUtils.createErrorType("This is very helpful diagnostics message"); + return ErrorUtils.createErrorType("Unsubstituted type for " + classDescriptor); } List arguments = getDefaultTypeProjections(classDescriptor.getTypeConstructor().getParameters()); return new JetTypeImpl(