Proper message

My little daily WTF...
This commit is contained in:
Andrey Breslav
2012-05-04 20:01:21 +04:00
parent 2c8b3c879c
commit f82e46e3ac
@@ -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<TypeProjection> arguments = getDefaultTypeProjections(classDescriptor.getTypeConstructor().getParameters());
return new JetTypeImpl(