Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

一个解析测试发现的问题 #24

Open
fredlala8 opened this issue Jul 26, 2019 · 1 comment
Open

一个解析测试发现的问题 #24

fredlala8 opened this issue Jul 26, 2019 · 1 comment

Comments

@fredlala8
Copy link

function test:check()
if some == 1 then
self:call(funA:create(funB(1),
funC(
function()
if self.m_class == nil then
self.m_class = classA.new(
{
a = 1,
b = 2,
c = 3
}):addTo(self)
else
self.funD()
end
end)))
else
self:funE()
end
end

@floydawong
Copy link
Owner

嗯, 闭包的格式化确实有问题, 在写这个插件的时候, 没有考虑完全, 后面才发现这个问题-_-!
最近很少用到Lua了, 所以这个插件也很久没有维护了. 抱歉!
最近比较忙, 你懂的~
过段时间有时间, 我再重新优化一下这个插件~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants