elua: lualian: with directory scanning in, there is no need to do this anymore

This commit is contained in:
Daniel Kolesa 2014-04-28 10:51:01 +01:00 committed by Daniel Kolesa
parent 4f7cdefbee
commit 754f0fee79
1 changed files with 1 additions and 1 deletions

View File

@ -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!")