diff --git a/ets2panda/scripts/arkui.properties b/ets2panda/scripts/arkui.properties index d1356f228999065e620150251b1b8390f89d36e4..3bfafba8ef73075b122f2d0bc663d9b487be6bcf 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_10-array-indexof-int +ARKUI_DEV_BRANCH=panda_rev_10-array_get_set_number2int ARKUI_DEST=koala-sig 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/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] }