Skip to content

Commit

Permalink
Add link to Kotlin bug tracker for JvmStatic comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcono1234 committed Nov 5, 2023
1 parent 31a03e9 commit 948cebc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ internal object Constant {
)

// Note: Interestingly @JvmStatic turns the function into a static one instead of adding an additional
// static function; not sure if that is intended or a bug in the Kotlin compiler
// static function (https://youtrack.jetbrains.com/issue/KT-54370), so using it here is probably an improvement
@JvmStatic
fun isJapaneseScript(script: Character.UnicodeScript): Boolean {
return script == Character.UnicodeScript.HIRAGANA ||
Expand Down

0 comments on commit 948cebc

Please sign in to comment.