diff options
-rw-r--r-- | server/src/core/diagnostics.lua | 12 | ||||
-rw-r--r-- | server/test/diagnostics/init.lua | 14 |
2 files changed, 13 insertions, 13 deletions
diff --git a/server/src/core/diagnostics.lua b/server/src/core/diagnostics.lua index 549ddc77..07c3379d 100644 --- a/server/src/core/diagnostics.lua +++ b/server/src/core/diagnostics.lua @@ -877,12 +877,12 @@ return function (vm, lines, uri) } end) -- 往表里面塞重复的method - session:doDiagnostics(session.searchDuplicateMethod, 'duplicate-method', function (key, related) - return { - message = lang.script('DIAG_DUPLICATE_METHOD', key), - related = related, - } - end) + --session:doDiagnostics(session.searchDuplicateMethod, 'duplicate-method', function (key, related) + -- return { + -- message = lang.script('DIAG_DUPLICATE_METHOD', key), + -- related = related, + -- } + --end) -- 空代码块 session:doDiagnostics(session.searchEmptyBlock, 'empty-block', function () return { diff --git a/server/test/diagnostics/init.lua b/server/test/diagnostics/init.lua index 4a34c3db..9e3bc0b4 100644 --- a/server/test/diagnostics/init.lua +++ b/server/test/diagnostics/init.lua @@ -475,13 +475,13 @@ local x x = x or -1 ]] -TEST [[ -local t = {} -function t:<!a!>() -end -function t:<!a!>() -end -]] +--TEST [[ +--local t = {} +--function t:<!a!>() +--end +--function t:<!a!>() +--end +--]] TEST [[ local t = {} |