Add JetType.isError()
Instead of ErrorUtils.isErrorType() which does several instanceof checks anyway
This commit is contained in:
+1
-1
@@ -397,7 +397,7 @@ public class SignaturesPropagationData {
|
||||
@NotNull List<TypeAndVariance> typesFromSuper,
|
||||
@NotNull TypeUsage howThisTypeIsUsed
|
||||
) {
|
||||
if (ErrorUtils.isErrorType(autoType)) {
|
||||
if (autoType.isError()) {
|
||||
return autoType;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user