Skip to content

refactor: remove obsolete format string workaround#448

Merged
wgtmac merged 2 commits intoapache:mainfrom
shangxinli:bug_fixes_format_string
Dec 29, 2025
Merged

refactor: remove obsolete format string workaround#448
wgtmac merged 2 commits intoapache:mainfrom
shangxinli:bug_fixes_format_string

Conversation

@shangxinli
Copy link
Copy Markdown
Contributor

Remove workaround for old Clang/libc++ bug where "<{}>" in format strings was incorrectly parsed. Modern compilers handle this correctly.

Changes:

  • Simplify ListType::ToString() to use direct format string
  • Simplify MapType::ToString() to use direct format string
  • Remove XXX comments about the workaround

The existing tests will verify this works correctly on current compilers.

shangxinli and others added 2 commits December 28, 2025 12:14
Remove workaround for old Clang/libc++ bug where "<{}>" in format
strings was incorrectly parsed. Modern compilers handle this correctly.

Changes:
- Simplify ListType::ToString() to use direct format string
- Simplify MapType::ToString() to use direct format string
- Remove XXX comments about the workaround

The existing tests will verify this works correctly on current compilers.
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@wgtmac wgtmac merged commit 239e255 into apache:main Dec 29, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants