Skip to content

#891 Fix compilation of generated resources with long keys (0.27.1) - #892

Merged
ExNDY merged 2 commits into
developfrom
hotfix-lazy-constructor-break
Sep 18, 2026
Merged

ExNDY merged 2 commits into
developfrom
hotfix-lazy-constructor-break

Conversation

@ExNDY

@ExNDY ExNDY commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

Summary

Fix a Kotlin compilation error introduced in 0.27.0 when a long resource key causes KotlinPoet to wrap between lazy and { in a generated batch accessor.

Changes

  • Keep lazy { on the same line using KotlinPoet's non-breaking space.
  • Bump the resource version to 0.27.1.
  • Add a regression test for resource keys of 59, 60, and 120 characters.

@ExNDY ExNDY added this to the 0.27.1 milestone Sep 17, 2026
@ExNDY ExNDY self-assigned this Sep 17, 2026
@ExNDY
ExNDY merged commit 6badbcb into develop Sep 18, 2026
38 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.

1 participant