mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IJPL-162853 kmp compatibility: arrayCopy -> copyInto
GitOrigin-RevId: 2d7360aa14de30f4b1fdba2473758535f313caba
This commit is contained in:
committed by
intellij-monorepo-bot
parent
90655a65e3
commit
b0a10f7115
+2
-2
@@ -410,11 +410,11 @@ internal class ParsingTreeBuilder(
|
||||
get() = tokens
|
||||
|
||||
override fun copyTokenStartsToArray(dest: IntArray, srcStart: Int, destStart: Int, length: Int) {
|
||||
System.arraycopy(myLexStarts, srcStart, dest, destStart, length)
|
||||
myLexStarts.copyInto(dest, destStart, srcStart, srcStart + length)
|
||||
}
|
||||
|
||||
override fun copyTokenTypesToArray(dest: Array<in SyntaxElementType>, srcStart: Int, destStart: Int, length: Int) {
|
||||
System.arraycopy(myLexTypes, srcStart, dest, destStart, length)
|
||||
myLexTypes.copyInto(dest, destStart, srcStart, srcStart + length)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user