aboutsummaryrefslogtreecommitdiff
path: root/lux-php
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-php
parentf55e513690400cce9e5e17a01a98922d91e086c3 (diff)
Both the old JVM interop and the new JVM interop use the same syntax for array types.
Diffstat (limited to 'lux-php')
-rw-r--r--lux-php/source/program.lux6
1 files changed, 3 insertions, 3 deletions
diff --git a/lux-php/source/program.lux b/lux-php/source/program.lux
index f3f445bd9..a65999526 100644
--- a/lux-php/source/program.lux
+++ b/lux-php/source/program.lux
@@ -79,7 +79,7 @@
(getValue [] php/runtime/Memory))
(import: #long php/runtime/memory/ArrayMemory
- (new [(Array java/lang/Object)])
+ (new [[java/lang/Object]])
(size [] int)
(isMap [] boolean)
(get [php/runtime/Memory] php/runtime/Memory))
@@ -98,11 +98,11 @@
(import: #long php/runtime/reflection/FunctionEntity)
(import: #long php/runtime/invoke/InvokeHelper
- (#static callAny [php/runtime/Memory (Array php/runtime/Memory) php/runtime/env/Environment php/runtime/env/TraceInfo]
+ (#static callAny [php/runtime/Memory [php/runtime/Memory] php/runtime/env/Environment php/runtime/env/TraceInfo]
#try php/runtime/Memory))
(import: #long php/runtime/lang/Closure
- (call [php/runtime/env/Environment (Array php/runtime/Memory)] #try php/runtime/Memory))
+ (call [php/runtime/env/Environment [php/runtime/Memory]] #try php/runtime/Memory))
(template [<name>]
[(interface: <name>