From 3a81232c2367df2416f62f651259ff9297abc7d4 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Tue, 14 Jun 2022 19:46:27 -0400 Subject: De-sigil-ification: suffix : [Part 9] --- stdlib/source/test/lux/ffi.jvm.lux | 26 +++++++++++++------------- stdlib/source/test/lux/ffi.old.lux | 4 ++-- 2 files changed, 15 insertions(+), 15 deletions(-) (limited to 'stdlib/source/test') diff --git a/stdlib/source/test/lux/ffi.jvm.lux b/stdlib/source/test/lux/ffi.jvm.lux index d30eee0ae..327c2c77f 100644 --- a/stdlib/source/test/lux/ffi.jvm.lux +++ b/stdlib/source/test/lux/ffi.jvm.lux @@ -377,7 +377,7 @@ example/3! example/4!)))) -(/.class: "final" test/TestClass0 [test/TestInterface0] +(/.class "final" test/TestClass0 [test/TestInterface0] ... Fields ("private" value java/lang/Long) ... Constructors @@ -392,7 +392,7 @@ "[1]::[0]" (new [java/lang/Long])) -(/.class: "final" test/TestClass1 [test/TestInterface1] +(/.class "final" test/TestClass1 [test/TestInterface1] ... Fields ("private" value java/lang/Long) ... Constructors @@ -410,7 +410,7 @@ "[1]::[0]" (new [java/lang/Long])) -(/.class: "final" test/TestClass2 [test/TestInterface2] +(/.class "final" test/TestClass2 [test/TestInterface2] ... Constructors ("public" [] (new self []) [] []) @@ -424,7 +424,7 @@ "[1]::[0]" (new [])) -(/.class: "final" (test/TestClass3 a) [(test/TestInterface3 a)] +(/.class "final" (test/TestClass3 a) [(test/TestInterface3 a)] ... Fields ("private" value a) ... Constructors @@ -440,7 +440,7 @@ "[1]::[0]" (new [a])) -(/.class: "final" test/TestClass4 [] +(/.class "final" test/TestClass4 [] ... Constructors ("public" [] (new self []) [] []) @@ -453,7 +453,7 @@ (new []) (actual4 [java/lang/Long] java/lang/Long)) -(/.class: "final" test/TestClass5 [] +(/.class "final" test/TestClass5 [] ... Constructors ("public" [] (new self []) [] []) @@ -466,7 +466,7 @@ "[1]::[0]" ("static" actual5 [java/lang/Long] java/lang/Long)) -(/.class: "abstract" test/TestClass6 [] +(/.class "abstract" test/TestClass6 [] ... Constructors ("public" [] (new self []) [] []) @@ -478,7 +478,7 @@ "[1]::[0]" (actual6 [java/lang/Long] java/lang/Long)) -(/.class: "final" test/TestClass7 test/TestClass6 [] +(/.class "final" test/TestClass7 test/TestClass6 [] ... Constructors ("public" [] (new self []) [] []) @@ -492,7 +492,7 @@ "[1]::[0]" (new [])) -(/.class: "final" test/TestClass8 [test/TestInterface4] +(/.class "final" test/TestClass8 [test/TestInterface4] ... Constructors ("public" [] (new self []) [] []) @@ -509,7 +509,7 @@ "[1]::[0]" (new [])) -(/.class: "final" (test/TestClass9 a) [] +(/.class "final" (test/TestClass9 a) [] ... Fields ("private" value9 a) ... Constructors @@ -527,7 +527,7 @@ (set_actual9 [a] void) (get_actual9 [] a)) -(/.class: "final" (test/TestClass10 a) [] +(/.class "final" (test/TestClass10 a) [] ... Fields ("public" value10 a) ... Constructors @@ -539,7 +539,7 @@ (new [a]) (value10 a)) -(/.class: "final" (test/TestClass11 a) [] +(/.class "final" (test/TestClass11 a) [] ... Fields ("public" value11 a) ... Constructors @@ -651,7 +651,7 @@ macro_error (text.contains? (the exception.#label /.cannot_write_to_field))))]] (all _.and - (_.coverage [/.class: /.import] + (_.coverage [/.class /.import] (and example/0! example/1! example/2! diff --git a/stdlib/source/test/lux/ffi.old.lux b/stdlib/source/test/lux/ffi.old.lux index b00020c6c..917e18949 100644 --- a/stdlib/source/test/lux/ffi.old.lux +++ b/stdlib/source/test/lux/ffi.old.lux @@ -36,7 +36,7 @@ "[1]::[0]" (getName [] java/lang/String)) -(/.class: "final" (TestClass A) [] +(/.class "final" (TestClass A) [] ... Fields ("private" increase java/lang/Long) ("private" counter java/lang/Long) @@ -212,7 +212,7 @@ (|> (/.class_for java/lang/Class) java/lang/Class::getName (text#= "java.lang.Class"))) - (_.coverage [/.class: /.do_to] + (_.coverage [/.class /.do_to] (|> (/.do_to (test/lux/ffi/TestClass::new increase counter) (test/lux/ffi/TestClass::upC) (test/lux/ffi/TestClass::upC) -- cgit v1.2.3