diff options
author | fesily <fesil@foxmail.com> | 2024-01-16 13:38:52 +0800 |
---|---|---|
committer | fesily <fesil@foxmail.com> | 2024-01-16 13:38:52 +0800 |
commit | 10275c3667256e720371ce5280658c3e4f950d2f (patch) | |
tree | 27e45d80798e70c022d6031d7a716300849dcd9e /test/diagnostics | |
parent | 4432dfea0fe8390be166b832a1ac416c8228296f (diff) | |
download | lua-language-server-10275c3667256e720371ce5280658c3e4f950d2f.zip |
automatic derivation function param type
Diffstat (limited to 'test/diagnostics')
-rw-r--r-- | test/diagnostics/await-in-sync.lua | 2 | ||||
-rw-r--r-- | test/diagnostics/redundant-parameter.lua | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/diagnostics/await-in-sync.lua b/test/diagnostics/await-in-sync.lua index 323c1113..7647f2eb 100644 --- a/test/diagnostics/await-in-sync.lua +++ b/test/diagnostics/await-in-sync.lua @@ -119,7 +119,7 @@ end TEST [[ local function f(cb) - cb() + <!cb!>() end local function af() diff --git a/test/diagnostics/redundant-parameter.lua b/test/diagnostics/redundant-parameter.lua index fabe3340..520a6381 100644 --- a/test/diagnostics/redundant-parameter.lua +++ b/test/diagnostics/redundant-parameter.lua @@ -94,7 +94,7 @@ print(1, 2, 3, 4, 5) TEST [[ local function f(callback) - callback(1, 2, 3) + callback(<!1!>, <!2!>, <!3!>) end f(function () end) ]] |