[syntax] fix unstable hashcode of syntax node

GitOrigin-RevId: 61822764881eadabf47ad7faa8d05c2e800f43ca
This commit is contained in:
Alexander Zolotov
2025-08-19 07:15:56 +00:00
committed by intellij-monorepo-bot
parent 870120e6cd
commit 4cf5c3f88f
@@ -119,7 +119,7 @@ class KmpSyntaxNode internal constructor(
override fun hashCode(): Int = arrayOf(
context, markerIndex, startLexemeIndex
).hashCode()
).contentHashCode()
override val text: CharSequence
get() = context.text.subSequence(