diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2020-11-16 11:27:17 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2020-11-16 11:27:17 +0800 |
commit | 8c464f8fa237d85d2c99c7b36d8a62d9bcecda81 (patch) | |
tree | 85c6d6bdcd9ab446cd924bad745da5c05bdec070 /test-beta/diagnostics/init.lua | |
parent | 4e23000383857307e33ec255fe71e2e020413615 (diff) | |
download | lua-language-server-8c464f8fa237d85d2c99c7b36d8a62d9bcecda81.zip |
诊断检查 break 后的代码
Diffstat (limited to 'test-beta/diagnostics/init.lua')
-rw-r--r-- | test-beta/diagnostics/init.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test-beta/diagnostics/init.lua b/test-beta/diagnostics/init.lua index 579a132b..8b4ba219 100644 --- a/test-beta/diagnostics/init.lua +++ b/test-beta/diagnostics/init.lua @@ -632,6 +632,14 @@ table.insert({}, 1, 2, <!3!>) ]] TEST [[ +while true do + break + <!print() + print()!> +end +]] + +TEST [[ ---@class <!Class!> ---@class <!Class!> ]] |