diff options
-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 e2fd6abc..0e84468b 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 7bb25f00..3eb0b19e 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 df9b9586..fbbbeb82 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 +--]] |