Proper message
My little daily WTF...
This commit is contained in:
@@ -369,7 +369,7 @@ public class TypeUtils {
|
|||||||
@NotNull
|
@NotNull
|
||||||
public static JetType makeUnsubstitutedType(ClassDescriptor classDescriptor, JetScope unsubstitutedMemberScope) {
|
public static JetType makeUnsubstitutedType(ClassDescriptor classDescriptor, JetScope unsubstitutedMemberScope) {
|
||||||
if (ErrorUtils.isError(classDescriptor)) {
|
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());
|
List<TypeProjection> arguments = getDefaultTypeProjections(classDescriptor.getTypeConstructor().getParameters());
|
||||||
return new JetTypeImpl(
|
return new JetTypeImpl(
|
||||||
|
|||||||
Reference in New Issue
Block a user