aboutsummaryrefslogtreecommitdiff
path: root/lux-python
diff options
context:
space:
mode:
authorEduardo Julian2019-05-28 22:14:53 -0400
committerEduardo Julian2019-05-28 22:14:53 -0400
commit8cd61c00de00728759d0362a60dbca8d23e4d8dc (patch)
tree4eaf5b75bea6bd84b1db28eb405539213392a588 /lux-python
parentf55e513690400cce9e5e17a01a98922d91e086c3 (diff)
Both the old JVM interop and the new JVM interop use the same syntax for array types.
Diffstat (limited to 'lux-python')
-rw-r--r--lux-python/source/program.lux4
1 files changed, 2 insertions, 2 deletions
diff --git a/lux-python/source/program.lux b/lux-python/source/program.lux
index 41a720b36..756b27b9c 100644
--- a/lux-python/source/program.lux
+++ b/lux-python/source/program.lux
@@ -70,7 +70,7 @@
(__len__ [] int))
(import: #long org/python/core/PyFunction
- (__call__ [(Array org/python/core/PyObject)] org/python/core/PyObject))
+ (__call__ [[org/python/core/PyObject]] org/python/core/PyObject))
(import: #long org/python/core/PyArray
(new [(java/lang/Class java/lang/Object) java/lang/Object])
@@ -150,7 +150,7 @@
[org/python/core/PyString org/python/core/PyObject::asString]
[org/python/core/PyFunction (|>)]
[org/python/core/PyArray org/python/core/PyArray::getArray]
- [(Array java/lang/Object) (|>)]
+ [[java/lang/Object] (|>)]
))
(~~ (template [<class> <processing>]
[(case (host.check <class> host-object)