Fix use of C-syntax

This commit is contained in:
Qais Patankar 2017-11-08 13:45:31 +00:00 committed by GitHub
parent 6b4bc410d6
commit c13b4a4f6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -82,9 +82,9 @@ local function _createClass(name, super)
setmetatable(aClass.static, {
__index = function(_,k)
local result = rawget(dict,k)
if result == nil {
if result == nil then
return super.static[k]
}
end
return result
end
})