From 8955c514c78fad4022ceeea69370ff3c655b4102 Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Tue, 1 Apr 2014 14:21:48 +0100 Subject: [PATCH] Eo: all classes are allowed in extension list. All classes are allowed, because all classes can be used as interfaces in order to override behaviour. This is especially needed for mixins and broke the eo2 tests. --- src/lib/eo/eo.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/lib/eo/eo.c b/src/lib/eo/eo.c index 17b453c..7842aa8 100644 --- a/src/lib/eo/eo.c +++ b/src/lib/eo/eo.c @@ -832,10 +832,6 @@ eo_class_new(const Eo_Class_Description *desc, const Eo_Class *parent_id, ...) switch (extn->desc->type) { case EO_CLASS_TYPE_REGULAR_NO_INSTANT: - ERR("Regular non-instantiable classes ('%s') aren't allowed in class ('%s') extension list", - extn->desc->name, desc->name); - va_end(p_list); - return NULL; case EO_CLASS_TYPE_REGULAR: case EO_CLASS_TYPE_INTERFACE: case EO_CLASS_TYPE_MIXIN: -- 2.7.4