Bug 23251 – Deprecation: format specifier "%[a-z]" is invalid
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2022-07-15T16:48:32Z
Last change time
2022-07-20T02:48:47Z
Keywords
rejects-valid
Assigned to
No Owner
Creator
Iain Buclaw
Comments
Comment #0 by ibuclaw — 2022-07-15T16:48:32Z
Another bogus deprecation message.
Weirdly, `%[a-z]s` is accepted instead, which means the scanf format parser is not treating "%[" as its own specifier.
Comment #1 by dlang-bot — 2022-07-19T19:45:15Z
@ibuclaw created dlang/dmd pull request #14316 "Issue 23251 - Deprecation: format specifier "%[a-z]" is invalid" mentioning this issue:
- Issue 23251 - Deprecation: format specifier "%[a-z]" is invalid
https://github.com/dlang/dmd/pull/14316
Comment #2 by dlang-bot — 2022-07-20T02:48:47Z
dlang/dmd pull request #14316 "fix Issue 23251 - Deprecation: format specifier "%[a-z]" is invalid" was merged into master:
- d811e0c55af4e8fd8c04c09ef37e1670e0bc32e6 by Iain Buclaw:
fix Issue 23251 - Deprecation: format specifier "%[a-z]" is invalid
https://github.com/dlang/dmd/pull/14316