diff options
author | Eduardo Julian | 2022-06-05 01:39:29 -0400 |
---|---|---|
committer | Eduardo Julian | 2022-06-05 01:39:29 -0400 |
commit | f623de52d76ad8ec96feb048cd95a3fb150717e1 (patch) | |
tree | 92a53eb8e5a25287e59eb104716abe5cc2ebd60a /stdlib/source/test/lux/ffi.old.lux | |
parent | 75e8244fd7914d2ac0c3622d2277b84c4bfa7ffb (diff) |
De-sigil-ification: : [Part 1]
Diffstat (limited to '')
-rw-r--r-- | stdlib/source/test/lux/ffi.old.lux | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/stdlib/source/test/lux/ffi.old.lux b/stdlib/source/test/lux/ffi.old.lux index ae5acc8a0..021af2ad4 100644 --- a/stdlib/source/test/lux/ffi.old.lux +++ b/stdlib/source/test/lux/ffi.old.lux @@ -22,17 +22,17 @@ [\\library ["[0]" /]]) -(/.import: java/lang/Object +(/.import java/lang/Object "[1]::[0]") -(/.import: java/lang/String +(/.import java/lang/String "[1]::[0]") -(/.import: java/lang/Exception +(/.import java/lang/Exception "[1]::[0]" (new [java/lang/String])) -(/.import: (java/lang/Class a) +(/.import (java/lang/Class a) "[1]::[0]" (getName [] java/lang/String)) @@ -53,7 +53,7 @@ ("public" (downC self []) void (:= ::counter (i.- ::increase ::counter)))) -(/.import: (test/lux/ffi/TestClass a) +(/.import (test/lux/ffi/TestClass a) "[1]::[0]" (new [java/lang/Long java/lang/Long]) (currentC [] java/lang/Long) @@ -65,7 +65,7 @@ ([] up [] test/lux/ffi/TestInterface "throws" [java/lang/Exception]) ([] down [] test/lux/ffi/TestInterface "throws" [java/lang/Exception])) -(/.import: test/lux/ffi/TestInterface +(/.import test/lux/ffi/TestInterface "[1]::[0]" (current [] java/lang/Long) (up [] java/lang/Long) @@ -208,7 +208,7 @@ (case (/.as java/lang/Object (/.null)) {.#Some _} false {.#None} true))) (_.coverage [/.synchronized] (/.synchronized sample #1)) - (_.coverage [/.class_for /.import:] + (_.coverage [/.class_for /.import] (|> (/.class_for java/lang/Class) java/lang/Class::getName (text#= "java.lang.Class"))) |