Skip to content

Conversation

thecrypticace
Copy link
Contributor

Indexing into a string is only ever going to produce a single character and is almost guaranteed to be a mistake. The legacy keypath notation is meant to traverse objects and arrays — not strings.

Fixes #19104

Indexing into a string is only ever going to produce a single character and is almost guaranteed to be a mistake. The legacy keypath notation is meant to traverse objects and arrays — not strings.
@thecrypticace thecrypticace requested a review from a team as a code owner October 13, 2025 14:25
@thecrypticace thecrypticace merged commit f945c3d into main Oct 13, 2025
7 checks passed
@thecrypticace thecrypticace deleted the fix/issue-19104 branch October 13, 2025 15:44
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.

theme() function evaluates to garbage in the @theme definition in some cases

2 participants