如何动态生成继承关系
#1474
Replies: 1 comment 4 replies
-
不能,请手动注解 |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
比如:
local inherit(ParentClass, Class)
-- Todo: Class inherit from ParentClass
return Class
end
local NewClass = inherit(BaseClass, Class)
能否让Class经过调用inherit方法后, 产生annotations中 ---@Class Class: BaseClass 的继承关系
Beta Was this translation helpful? Give feedback.
All reactions