D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 23252 - Deprecation: format specifier "%[]]" is invalid
Summary: Deprecation: format specifier "%[]]" is invalid
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: All All
: P1 normal
Assignee: No Owner
URL:
Keywords: pull, rejects-valid
Depends on:
Blocks:
 
Reported: 2022-07-15 22:23 UTC by Iain Buclaw
Modified: 2022-07-16 00:44 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Iain Buclaw 2022-07-15 22:23:30 UTC
Another bogus deprecation message.  If the first character of a scanset is `]`, then that is treated as wanting to match `]`, so is skipped over.
Comment 1 Dlang Bot 2022-07-15 23:13:03 UTC
@ibuclaw created dlang/dmd pull request #14308 "fix Issue 23252 - Deprecation: format specifier "%[]]" is invalid" fixing this issue:

- fix Issue 23252 - Deprecation: format specifier "%[]]" is invalid

https://github.com/dlang/dmd/pull/14308
Comment 2 Dlang Bot 2022-07-16 00:44:23 UTC
dlang/dmd pull request #14308 "fix Issue 23252 - Deprecation: format specifier "%[]]" is invalid" was merged into master:

- c7fd14216816671b4d80c544ca7b26ecc03304ce by Iain Buclaw:
  fix Issue 23252 - Deprecation: format specifier "%[]]" is invalid

https://github.com/dlang/dmd/pull/14308