Cocos2d-x 3.0 引擎lua extern class疑问

if super then
cls = clone(super)
cls.super = super
else
cls = {ctor = function() end}
end

    cls.__cname = classname
    cls.__ctype = 2 -- lua
    cls.__index = cls

    function cls.new(...)
        local instance = setmetatable({}, cls)
        instance.class = cls
        instance:ctor(...)
        return instance
    end

以上是lua 部分代码,求解为什么new的时候传参不能传到构造函数ctor中去

求人看看~~~~~~~~

为何不行.行啊…你的ctor怎么写

— Begin quote from ____

引用第2楼kary24于2014-05-20 09:23发表的 :
为何不行.行啊…你的ctor怎么写 http://www.cocoachina.com/bbs/job.php?action=topost&tid=202311&pid=955867

— End quote

function a:ctor(myName)
self.myName=myName
end