diff --git a/compiler/frontend/src/org/jetbrains/jet/lang/types/ErrorUtils.java b/compiler/frontend/src/org/jetbrains/jet/lang/types/ErrorUtils.java index f9b7894b1b2..1dca97df03a 100644 --- a/compiler/frontend/src/org/jetbrains/jet/lang/types/ErrorUtils.java +++ b/compiler/frontend/src/org/jetbrains/jet/lang/types/ErrorUtils.java @@ -6,7 +6,7 @@ import org.jetbrains.jet.lang.descriptors.*; import org.jetbrains.jet.lang.descriptors.annotations.AnnotationDescriptor; import org.jetbrains.jet.lang.resolve.scopes.JetScope; import org.jetbrains.jet.lang.resolve.scopes.receivers.ReceiverDescriptor; -import org.jetbrains.jet.lang.types.error.NamedFunctionDescriptorErrorImpl; +import org.jetbrains.jet.lang.types.error.ErrorNamedFunctionDescriptorImpl; import java.util.*; @@ -147,7 +147,7 @@ public class ErrorUtils { private static final Set ERROR_PROPERTY_GROUP = Collections.singleton(ERROR_PROPERTY); private static NamedFunctionDescriptor createErrorFunction(ErrorScope ownerScope) { - NamedFunctionDescriptorErrorImpl function = new NamedFunctionDescriptorErrorImpl(ownerScope); + ErrorNamedFunctionDescriptorImpl function = new ErrorNamedFunctionDescriptorImpl(ownerScope); function.initialize( null, ReceiverDescriptor.NO_RECEIVER, diff --git a/compiler/frontend/src/org/jetbrains/jet/lang/types/error/NamedFunctionDescriptorErrorImpl.java b/compiler/frontend/src/org/jetbrains/jet/lang/types/error/ErrorNamedFunctionDescriptorImpl.java similarity index 90% rename from compiler/frontend/src/org/jetbrains/jet/lang/types/error/NamedFunctionDescriptorErrorImpl.java rename to compiler/frontend/src/org/jetbrains/jet/lang/types/error/ErrorNamedFunctionDescriptorImpl.java index df3aabde834..123e4d39386 100644 --- a/compiler/frontend/src/org/jetbrains/jet/lang/types/error/NamedFunctionDescriptorErrorImpl.java +++ b/compiler/frontend/src/org/jetbrains/jet/lang/types/error/ErrorNamedFunctionDescriptorImpl.java @@ -13,12 +13,12 @@ import java.util.Collections; /** * @author Stepan Koltsov */ -public class NamedFunctionDescriptorErrorImpl extends NamedFunctionDescriptorImpl { +public class ErrorNamedFunctionDescriptorImpl extends NamedFunctionDescriptorImpl { // used for diagnostic only @NotNull private final ErrorUtils.ErrorScope ownerScope; - public NamedFunctionDescriptorErrorImpl(ErrorUtils.ErrorScope ownerScope) { + public ErrorNamedFunctionDescriptorImpl(ErrorUtils.ErrorScope ownerScope) { super(ErrorUtils.getErrorClass(), Collections.emptyList(), "", Kind.DECLARATION); this.ownerScope = ownerScope; }