diff options
Diffstat (limited to 'server')
-rw-r--r-- | server/src/vm/vm.lua | 4 | ||||
-rw-r--r-- | server/test/diagnostics/init.lua | 44 | ||||
-rw-r--r-- | server/test/hover/init.lua | 14 |
3 files changed, 31 insertions, 31 deletions
diff --git a/server/src/vm/vm.lua b/server/src/vm/vm.lua index 0e84468b..e2fd6abc 100644 --- a/server/src/vm/vm.lua +++ b/server/src/vm/vm.lua @@ -1040,9 +1040,9 @@ function mt:doAction(action) elseif tp == 'localfunction' then self:doLocalFunction(action) elseif tp == 'emmyClass' then - --self:doEmmyClass(action) + self:doEmmyClass(action) elseif tp == 'emmyType' then - --self:doEmmyType(action) + self:doEmmyType(action) elseif tp == 'emmyAlias' then elseif tp == 'emmyParam' then elseif tp == 'emmyReturn' then diff --git a/server/test/diagnostics/init.lua b/server/test/diagnostics/init.lua index 3eb0b19e..7bb25f00 100644 --- a/server/test/diagnostics/init.lua +++ b/server/test/diagnostics/init.lua @@ -333,25 +333,25 @@ local function x() end ]] ---TEST [[ ------@class <!Class!> ------@class <!Class!> ---]] --- ---TEST [[ ------@class A : <!B!> ---]] --- ---TEST [[ ------@class <!A : B!> ------@class <!B : C!> ------@class <!C : D!> ------@class <!D : A!> ---]] --- ---TEST [[ ------@class A : B ------@class B : C ------@class C : D ------@class D ---]] +TEST [[ +---@class <!Class!> +---@class <!Class!> +]] + +TEST [[ +---@class A : <!B!> +]] + +TEST [[ +---@class <!A : B!> +---@class <!B : C!> +---@class <!C : D!> +---@class <!D : A!> +]] + +TEST [[ +---@class A : B +---@class B : C +---@class C : D +---@class D +]] diff --git a/server/test/hover/init.lua b/server/test/hover/init.lua index fbbbeb82..df9b9586 100644 --- a/server/test/hover/init.lua +++ b/server/test/hover/init.lua @@ -465,10 +465,10 @@ function n<next>(table: table [, index: any]) -> key: any, value: any ]] ---TEST[[ ------@class Class ---local <?x?> = class() ---]] ---[[ ---local x: *Class ---]] +TEST[[ +---@class Class +local <?x?> = class() +]] +[[ +local x: *Class +]] |