TEST [[ local function _(x) end function _() () end ]] TEST [[ function _() do return end () end ]] TEST [[ local function a:b() a:b() () end ]] --TEST [[ --function _(...) -- function _() -- print() -- end --end --]] TEST [[ local ( / b)() ]] TEST [[ local io.load(root / .source / 'API' / path) ]] TEST [[ obj[#+1] = {} ]] TEST [[ self = { results = { = {}, } } self[self.results.] = lbl ]] TEST [[ self.results = { = {}, } self[self.results.] = lbl ]] TEST [[ self.results. = {} self[self.results.] = lbl ]] TEST [[ local mt = {} function mt:() end mt:x() mt:() ]] TEST [[ local function func() x = { xx(), , } end ]] TEST [[ local local t = { ..., , } ]] TEST [[ local a local return f(), ]] TEST [[ local a = os.clock() local ?> = os.clock() ]] TEST [[ local mt = {} function mt:(a, b) end local function init() return mt end local t = init() t:() ]] TEST [[ local mt = {} mt.__index = mt function mt:(a, b) end local function init() return setmetatable({}, mt) end local t = init() t:() ]] TEST [[ local t = {} t. = 1 t. = t.f1 print(t.) ]] TEST [[ local t = {} t. = 1 t. = t.f1 t. = t.f2 print(t.) ]] TEST [[ ---@type string string.xx = '' string.xx:() ]] TEST [[ ---@class Foo Foo = {} function Foo:Constructor() self. = 1 end ---@class Foo2: Foo Foo2 = {} function Foo2:Constructor() end ---@type Foo2 local v v. ]]