Don't allow invalid interpolations to occur (#1925)

Fixes #1921
This commit is contained in:
Rangi
2026-04-11 12:16:07 -04:00
committed by GitHub
parent 123201ecc6
commit df0b557638
9 changed files with 77 additions and 13 deletions
+2 -2
View File
@@ -12,9 +12,9 @@ error: STRFMT: Invalid format spec for argument 2
at invalid-format.asm(5)
error: STRFMT: Invalid format spec for argument 3
at invalid-format.asm(5)
error: Invalid format spec "5d5"
error: Invalid interpolation format spec "5d5"
at invalid-format.asm(8)
error: Invalid format spec "xx"
error: Invalid interpolation format spec "xx"
at invalid-format.asm(9)
error: Formatting string with sign flag '+'
at invalid-format.asm(11)