fix(substitute): don't crash with very large count (#39272)

(cherry picked from commit ac8459a09c)
This commit is contained in:
zeertzjq
2026-04-21 19:38:15 +08:00
committed by github-actions[bot]
parent 187a34d59b
commit ffb0ebb752
5 changed files with 10 additions and 8 deletions

View File

@@ -18,6 +18,7 @@ local dup_allowed = {
E116 = 2,
E121 = 2,
E1502 = 4,
E1510 = 2,
E151 = 2,
E155 = 3,
E158 = 2,