summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--script/core/diagnostics/init.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/script/core/diagnostics/init.lua b/script/core/diagnostics/init.lua
index fcfcc9ad..a2b831f7 100644
--- a/script/core/diagnostics/init.lua
+++ b/script/core/diagnostics/init.lua
@@ -6,6 +6,7 @@ local vm = require "vm.vm"
-- 把耗时最长的诊断放到最后面
local diagSort = {
+ ['deprecated'] = 98,
['undefined-field'] = 99,
['redundant-parameter'] = 100,
}