diff options
Diffstat (limited to 'stdlib/source/unsafe')
-rw-r--r-- | stdlib/source/unsafe/lux/data/collection/array.lux | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/stdlib/source/unsafe/lux/data/collection/array.lux b/stdlib/source/unsafe/lux/data/collection/array.lux index 9d82fc7dd..ca3620f56 100644 --- a/stdlib/source/unsafe/lux/data/collection/array.lux +++ b/stdlib/source/unsafe/lux/data/collection/array.lux @@ -17,7 +17,7 @@ (with_expansions [<index_type> (.Primitive "java.lang.Long") <elem_type> (.Primitive "java.lang.Object") <array_type> (.type (..Array <elem_type>))] - (for @.jvm (template: (int! value) + (for @.jvm (template: (jvm_int value) [(.|> value (.as <index_type>) "jvm object cast" @@ -31,7 +31,7 @@ (.as_expected ("jvm anewarray" "(java.lang.Object )" size)) (~~ (.static @.jvm)) - (|> (~~ (..int! size)) + (|> (~~ (..jvm_int size)) "jvm array new object" (.is <array_type>) .as_expected) @@ -82,7 +82,7 @@ (~~ (.static @.jvm)) (.|> array (.as <array_type>) - ("jvm array read object" (~~ (int! index))) + ("jvm array read object" (~~ (jvm_int index))) "jvm object null?") (~~ (.static @.js)) (~~ (lacks?' "js array read" "js object undefined?" index array)) @@ -107,7 +107,7 @@ (~~ (.static @.jvm)) (.|> array (.as <array_type>) - ("jvm array read object" (~~ (int! index))) + ("jvm array read object" (~~ (jvm_int index))) .as_expected) (~~ (.static @.js)) ("js array read" index array) @@ -128,7 +128,7 @@ (~~ (.static @.jvm)) (.|> array (.as <array_type>) - ("jvm array write object" (~~ (int! index)) (.as <elem_type> value)) + ("jvm array write object" (~~ (jvm_int index)) (.as <elem_type> value)) .as_expected) (~~ (.static @.js)) ("js array write" index value array) |