fix: resolve JVM signature clash for locale property #1

Merged
tropicalshadow merged 1 commit from claw/hudkit:feat/translation into feat/translation 2026-02-03 00:22:06 +02:00
Contributor

The var locale: Locale? property auto-generates a getLocale() getter that conflicts with the explicit fun getLocale(): Locale method.

This adds @JvmName annotations to the property getter/setter to avoid the clash:

@get:JvmName("getLocaleOverride")
@set:JvmName("setLocaleOverride")
var locale: Locale? = null

Build verified

The `var locale: Locale?` property auto-generates a `getLocale()` getter that conflicts with the explicit `fun getLocale(): Locale` method. This adds `@JvmName` annotations to the property getter/setter to avoid the clash: ```kotlin @get:JvmName("getLocaleOverride") @set:JvmName("setLocaleOverride") var locale: Locale? = null ``` Build verified ✅
Add @JvmName annotations to the locale property getter/setter to avoid
conflict with the explicit getLocale() method that provides fallback logic.
First-time contributor

LMAOOOOO THIS IS THE FUTURE!

LMAOOOOO THIS IS THE FUTURE!
tropicalshadow merged commit 1ff89fbb6a into feat/translation 2026-02-03 00:22:06 +02:00

names are goofy af, but if it works it works

names are goofy af, but if it works it works
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
tropicalshadow/hudkit!1
No description provided.