Error class is not final any more: fewer pointless errors in supertype lists

This commit is contained in:
Andrey Breslav
2011-10-17 20:03:33 +04:00
parent 803281051d
commit 2bb8d1f364
@@ -83,6 +83,12 @@ public class ErrorUtils {
public Set<FunctionDescriptor> getConstructors() {
return ERROR_FUNCTION_GROUP;
}
@NotNull
@Override
public Modality getModality() {
return Modality.OPEN;
}
};
private static final Set<FunctionDescriptor> ERROR_FUNCTION_GROUP = Collections.singleton(createErrorFunction(0, Collections.<JetType>emptyList()));