elua: lualian: with directory scanning in, there is no need to do this anymore
This commit is contained in:
parent
4f7cdefbee
commit
754f0fee79
|
@ -616,7 +616,7 @@ local gen_class = function(classn)
|
||||||
local mixins = {}
|
local mixins = {}
|
||||||
local ct = eolian.class_type
|
local ct = eolian.class_type
|
||||||
for i, v in ipairs(inherits) do
|
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 tp == ct.REGULAR or tp == ct.ABSTRACT then
|
||||||
if parent then
|
if parent then
|
||||||
error(classn .. ": more than 1 parent!")
|
error(classn .. ": more than 1 parent!")
|
||||||
|
|
Loading…
Reference in New Issue