diff --git a/ets2panda/scripts/arkui.properties b/ets2panda/scripts/arkui.properties
index 596d66d7752f3b3d26f0170ef32fb0eff678208d..174c7b5117e3c4eb618e9485aaa05ca1f1ce9d9e 100644
--- a/ets2panda/scripts/arkui.properties
+++ b/ets2panda/scripts/arkui.properties
@@ -1,3 +1,3 @@
ARKUI_DEV_REPO=https://gitee.com/rri_opensource/koala_projects.git
-ARKUI_DEV_BRANCH=panda_rev_9-array-length-int
+ARKUI_DEV_BRANCH=panda_rev_9-array_index2int
ARKUI_DEST=koala-sig
diff --git a/ets2panda/test/ast/compiler/ets/generic_callback.ets b/ets2panda/test/ast/compiler/ets/generic_callback.ets
index 92c4b7ad7e8c7186666911d3e4c1f5ee1faa81f4..6e6c2919d4b74d1cb9045a3a3f27d3137d8987c1 100644
--- a/ets2panda/test/ast/compiler/ets/generic_callback.ets
+++ b/ets2panda/test/ast/compiler/ets/generic_callback.ets
@@ -22,7 +22,7 @@ let x = [1, 2, 3].map(identity)[0];
/* @@? 19:9 Error TypeError: Indexed access is not supported for such expression type. */
/* @@? 19:9 Error TypeError: No matching call signature for map((a: A) => A) */
/* @@? 19:9 Error TypeError: Indexed access is not supported for such expression type. */
-/* @@? 19:23 Error TypeError: Type '(a: A) => A' is not compatible with type '(value: Int, index: Double, array: Array) => A' at index 1 */
-/* @@? 19:23 Error TypeError: Type '(a: A) => A' is not compatible with type '(value: Int, index: Double, array: ReadonlyArray) => A' at index 1 */
-/* @@? 19:23 Error TypeError: Type '(a: A) => A' is not compatible with type '(value: Int, index: Double, array: Array) => A' at index 1 */
-/* @@? 19:23 Error TypeError: Type '(a: A) => A' is not compatible with type '(value: Int, index: Double, array: ReadonlyArray) => A' at index 1 */
+/* @@? 19:23 Error TypeError: Type '(a: A) => A' is not compatible with type '(value: Int, index: Int, array: Array) => A' at index 1 */
+/* @@? 19:23 Error TypeError: Type '(a: A) => A' is not compatible with type '(value: Int, index: Int, array: ReadonlyArray) => A' at index 1 */
+/* @@? 19:23 Error TypeError: Type '(a: A) => A' is not compatible with type '(value: Int, index: Int, array: Array) => A' at index 1 */
+/* @@? 19:23 Error TypeError: Type '(a: A) => A' is not compatible with type '(value: Int, index: Int, array: ReadonlyArray) => A' at index 1 */
diff --git a/ets2panda/test/ast/parser/ets/nonIntegralIndex.ets b/ets2panda/test/ast/parser/ets/nonIntegralIndex.ets
index 99ae69249a09d175981d11fc64d01228597eae4c..51b76e0ed88c97fa52fa4eefc299c8f1c338b5ba 100644
--- a/ets2panda/test/ast/parser/ets/nonIntegralIndex.ets
+++ b/ets2panda/test/ast/parser/ets/nonIntegralIndex.ets
@@ -15,6 +15,6 @@
export class Test {
private static fn(u: double[], i: double): void {
- u[/* @@ label */i] = 0.0
+ u[/* @@ label */i.toInt()] = 0.0
}
}
diff --git a/ets2panda/test/ast/parser/ets/update_funcscope_error.ets b/ets2panda/test/ast/parser/ets/update_funcscope_error.ets
index 7ca3f8b98c016452f86634a9eb2894793e19aff9..40a9c76e168f7c02af9cf9710f626eb5d433a28f 100644
--- a/ets2panda/test/ast/parser/ets/update_funcscope_error.ets
+++ b/ets2panda/test/ast/parser/ets/update_funcscope_error.ets
@@ -36,7 +36,7 @@ export const updateIfChanged = (t: Record) => {
/* @@? 21:19 Error TypeError: Unresolved reference u */
/* @@? 21:19 Error TypeError: Indexed access is not supported for such expression type. */
-/* @@? 24:7 Error TypeError: Type '(v: Record) => Boolean' is not compatible with type '(previousValue: Boolean, currentValue: Boolean, index: Double, array: FixedArray) => Boolean' at index 2 */
+/* @@? 24:7 Error TypeError: Type '(v: Record) => Boolean' is not compatible with type '(previousValue: Boolean, currentValue: Boolean, index: Int, array: FixedArray) => Boolean' at index 2 */
/* @@? 27:11 Error TypeError: Invalid record property */
/* @@? 28:11 Error SyntaxError: Unexpected token. */
/* @@? 28:12 Error SyntaxError: Unexpected token. */
diff --git a/ets2panda/test/runtime/ets/string_literals_inference.ets b/ets2panda/test/runtime/ets/string_literals_inference.ets
index f8b10dfc06a485969d3e1eaa547649fc46157c62..57dcfa61f386c728b4f48270bd9876ec937f08c2 100644
--- a/ets2panda/test/runtime/ets/string_literals_inference.ets
+++ b/ets2panda/test/runtime/ets/string_literals_inference.ets
@@ -22,7 +22,7 @@ function id(v: Object): T {
return v as T
}
-function getColor(colors: Array<"default"|"invisible"|number>, id: number) {
+function getColor(colors: Array<"default"|"invisible"|number>, id: int) {
return colors[id]
}