aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/test
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--stdlib/source/test/lux/ffi.jvm.lux22
1 files changed, 11 insertions, 11 deletions
diff --git a/stdlib/source/test/lux/ffi.jvm.lux b/stdlib/source/test/lux/ffi.jvm.lux
index f22bb70c1..6edf7e3ac 100644
--- a/stdlib/source/test/lux/ffi.jvm.lux
+++ b/stdlib/source/test/lux/ffi.jvm.lux
@@ -381,11 +381,11 @@
("private" value java/lang/Long)
... Constructors
("public" [] (new self [value java/lang/Long]) []
- (:= ::value value))
+ (/.set value value))
... Methods
(test/TestInterface0 [] (actual0 self [])
java/lang/Long
- ::value))
+ (/.get value)))
(/.import test/TestClass0
"[1]::[0]"
@@ -396,13 +396,13 @@
("private" value java/lang/Long)
... Constructors
("public" [] (new self [value java/lang/Long]) []
- (:= ::value value))
+ (/.set value value))
... Methods
(test/TestInterface1 [] (actual1 self [throw? java/lang/Boolean])
java/lang/Long
"throws" [java/lang/Throwable]
(if (not (/.of_boolean throw?))
- ::value
+ (/.get value)
(panic! "YOLO"))))
(/.import test/TestClass1
@@ -428,12 +428,12 @@
("private" value a)
... Constructors
("public" [] (new self [value a]) []
- (:= ::value value))
+ (/.set value value))
... Methods
((test/TestInterface3 a)
[] (actual3 self [])
a
- ::value))
+ (/.get value)))
(/.import (test/TestClass3 a)
"[1]::[0]"
@@ -513,12 +513,12 @@
("private" value9 a)
... Constructors
("public" [] (new self [value a]) []
- (:= ::value9 value))
+ (/.set value9 value))
... Methods
("public" (set_actual9 self [value a]) void
- (:= ::value9 value))
+ (/.set value9 value))
("public" (get_actual9 self []) a
- ::value9))
+ (/.get value9)))
(/.import (test/TestClass9 a)
"[1]::[0]"
@@ -531,7 +531,7 @@
("public" value10 a)
... Constructors
("public" [] (new self [init a]) []
- (:= ::value10 init)))
+ (/.set value10 init)))
(/.import (test/TestClass10 a)
"[1]::[0]"
@@ -543,7 +543,7 @@
("public" value11 a)
... Constructors
("public" [] (new self [init a]) []
- (:= ::value11 init)))
+ (/.set value11 init)))
(/.import (test/TestClass11 a)
"[1]::[0]"