From 754f0fee79630cece4b366588ee4697f0a612804 Mon Sep 17 00:00:00 2001 From: Daniel Kolesa Date: Mon, 28 Apr 2014 10:51:01 +0100 Subject: [PATCH] elua: lualian: with directory scanning in, there is no need to do this anymore --- src/bin/elua/modules/lualian.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/elua/modules/lualian.lua b/src/bin/elua/modules/lualian.lua index 392e532571..6db0a235ae 100644 --- a/src/bin/elua/modules/lualian.lua +++ b/src/bin/elua/modules/lualian.lua @@ -616,7 +616,7 @@ local gen_class = function(classn) local mixins = {} local ct = eolian.class_type for i, v in ipairs(inherits) do - local tp = (v ~= "Eo_Base") and eolian.class_type_get(v) or ct.REGULAR + local tp = eolian.class_type_get(v) if tp == ct.REGULAR or tp == ct.ABSTRACT then if parent then error(classn .. ": more than 1 parent!")