TEST [[ local = 1 = ]] TEST [[ = 1 = ]] TEST [[ local t t. = 1 t. = t. ]] TEST [[ t. = 1 t. = t. ]] TEST [[ :: :: goto if true then goto end ]] TEST [[ :: :: goto if true then goto end ]] TEST [[ local a = 1 local = 1 = ]] TEST [[ local local = ]] TEST [[ local local = ]] TEST [[ local t = { = 1 } print(t.) ]] TEST [[ local t = { = 1 } print(t.) ]] TEST [[ t[] = 1 print(t.) ]] TEST [[ local t = { [] = 1 } print(t.) ]] TEST [[ table.() function table.() end ]] TEST [[ local t = {} t. = 1 t[a.b.c] = 1 ]] TEST [[ local t = {} t.x = 1 t[a.b.] = 1 ]] TEST [[ local t local = t. () return { = , } ]] TEST [[ self = { results = { = {}, } } self[self.results.] = lbl ]] TEST [[ a.b. = 1 print(a.b.) ]] TEST [[ local = {} function :x() :x() end ]] TEST [[ local mt = {} function mt:() self:() end ]] TEST [[ a..c = 1 print(a..c) ]] TEST [[ local local t = { = } print(t.) ]] TEST [[ local local = ]] TEST [[ local a. = ]] TEST [[ . = ]] TEST [[ local local = ]] TEST [[ local . = ]] TEST [[ _G. = 1 print() ]] TEST [[ ---@class ---@type ---@type ]] TEST [[ ---@class ---@type ---@type ]] TEST [[ ---@class Class local ---@type Class local ]] TEST [[ ---@class Class local ---@type Class local ]] -- BUG TEST [[ ---@return function f() end ]] TEST [[ ---@class A ---@class B: A ---@type A local ]]