aboutsummaryrefslogtreecommitdiff
path: root/lux-js
diff options
context:
space:
mode:
Diffstat (limited to 'lux-js')
-rw-r--r--lux-js/source/program.lux10
1 files changed, 5 insertions, 5 deletions
diff --git a/lux-js/source/program.lux b/lux-js/source/program.lux
index 3dbdf35ec..29cc0a8ab 100644
--- a/lux-js/source/program.lux
+++ b/lux-js/source/program.lux
@@ -101,11 +101,11 @@
(import: java/util/Arrays
["#::."
- (#static [t] copyOfRange [[t] int int] [t])])
+ ("static" [t] copyOfRange [[t] int int] [t])])
(import: javax/script/ScriptEngine
["#::."
- (eval [java/lang/String] #try #? java/lang/Object)])
+ (eval [java/lang/String] "try" "?" java/lang/Object)])
(import: javax/script/ScriptEngineFactory
["#::."
@@ -119,10 +119,10 @@
["#::."
(isArray [] boolean)
(isFunction [] boolean)
- (getSlot [int] #? java/lang/Object)
- (getMember [java/lang/String] #? java/lang/Object)
+ (getSlot [int] "?" java/lang/Object)
+ (getMember [java/lang/String] "?" java/lang/Object)
(hasMember [java/lang/String] boolean)
- (call [#? java/lang/Object [java/lang/Object]] #try java/lang/Object)])
+ (call ["?" java/lang/Object [java/lang/Object]] "try" java/lang/Object)])
(import: org/openjdk/nashorn/api/scripting/AbstractJSObject)