local config = require "config" TEST [[ local = 1 = ]] TEST [[ = 1 a = ]] TEST [[ local t t. = 1 t.a = t. ]] TEST [[ t. = 1 t.a = t. ]] TEST [[ :: :: goto !> if true then goto end ]] TEST [[ :: !> :: goto if true then goto end ]] TEST [[ local a = 1 local = 1 = ]] TEST [[ local local b = ]] 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 [[ self = { results = { = {}, } } self[self.results.] = lbl ]] TEST [[ a.b. = 1 print(a.b.) ]] TEST [[ local mt = {} function mt:x() !>:x() end ]] TEST [[ local = {} function :x() self:x() end ]] TEST [[ local mt = {} function mt:x() self:!>() end ]] TEST [[ local mt = {} function mt:() self:() end ]] TEST [[ a..c = 1 print(a.!>.c) ]] TEST [[ _G. = 1 print() ]] TEST [[ ---@class ---@type ---@type ]] TEST [[ ---@class Class local ---@type Class local x ]] TEST [[ ---@class Class local t ---@type Class local ]] -- BUG TEST [[ ---@return !> function f() end ]] TEST [[ ---@class A ---@class B: A ---@type A local ]] --TEST [[ -----@class A --local a -- -----@type A --local b -- -----@type A --local c -- --b. = 1 --c. = 1 --]]