1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
TEST [[ ---@param <!x!> Class ]] TEST [[ ---@class Class ---@param <!y!> Class local function f(x) return x end f() ]] TEST [[ ---@class Class ---@param <!y!> Class function F(x) return x end F() ]]