aboutsummaryrefslogtreecommitdiff
path: root/stdlib/test
diff options
context:
space:
mode:
authorEduardo Julian2017-07-22 18:09:53 -0400
committerEduardo Julian2017-07-22 18:09:53 -0400
commita878ffc5f8d71848db3f400bc3ebd40176c19973 (patch)
treeac106d1c9c8548d4dae2a60bd971402e598626f4 /stdlib/test
parent607904a5238ecfcf7761143207ca41e082a12aa8 (diff)
- Changed inheritance syntax for interfaces and classes to make it more homogeneous.
Diffstat (limited to '')
-rw-r--r--stdlib/test/test/lux/paradigm/object.lux8
1 files changed, 4 insertions, 4 deletions
diff --git a/stdlib/test/test/lux/paradigm/object.lux b/stdlib/test/test/lux/paradigm/object.lux
index 7998d0000..215dcee77 100644
--- a/stdlib/test/test/lux/paradigm/object.lux
+++ b/stdlib/test/test/lux/paradigm/object.lux
@@ -18,11 +18,11 @@
get@Counter))
(interface: Resettable-Counter
- #extends Counter
+ #super Counter
(reset [] @))
(class: NatRC Resettable-Counter
- #inherits NatC
+ #super NatC
Unit
(def: reset
@@ -43,11 +43,11 @@
(|>. get@Collection list;size)))
(interface: (Iterable a)
- #extends (Collection a)
+ #super (Collection a)
(enumerate [] (List a)))
(class: (ListI a) (Iterable a)
- #inherits (ListC a)
+ #super (ListC a)
Unit
(def: enumerate