What are the steps to reproduce this issue?(重现步骤?)
1.define script.lua
InputChannels = Class("InputChannels")
InputChannels.area = nil;
function InputChannels:Ctor() end
function InputChannels:getChannels() end
function InputChannels:setChannels(channel) end
EBusMsg = Class("EBusMsg")
EBusMsg.msg = nil;
function EBusMsg:Ctor() end
function EBusMsg:getEBus() end
function EBusMsg:setEBus(EBus) end
define test.lua
function getName(name)
print(InputChannels.area)
print(EBusMsg.)
print(name)
end
Environment(环境)
What are the steps to reproduce this issue?(重现步骤?)
1.define script.lua
What happens?(出现什么问题?)
当提示EBusMsg补全时,会提供定义在InputChannels中的成员变量和方法
What were you expecting to happen?(期望?)
提示EBusMsg补全项是,不应该出现area/getChannels/setChannels
Any logs, error output, etc?(有没有什么log, error输出?)
无
Any other comments?(其它说明)
无