diff options
-rw-r--r-- | script/core/diagnostics/init.lua | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/script/core/diagnostics/init.lua b/script/core/diagnostics/init.lua index 4368f51a..369a6ba2 100644 --- a/script/core/diagnostics/init.lua +++ b/script/core/diagnostics/init.lua @@ -6,8 +6,10 @@ local vm = require "vm.vm" -- 把耗时最长的诊断放到最后面 local diagSort = { - ['deprecated'] = 98, - ['undefined-field'] = 99, + ['redundant-value'] = 96, + ['not-yieldable'] = 97, + ['deprecated'] = 98, + ['undefined-field'] = 99, ['redundant-parameter'] = 100, } |