summaryrefslogtreecommitdiffstats
path: root/tests/012/oop-mi.expected
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2019-12-12 18:10:17 -0800
committerKaz Kylheku <kaz@kylheku.com>2019-12-13 08:19:53 -0800
commitb1fe95fef05b7e8d26ff82645d373c2ef0b5c449 (patch)
tree7220391285ce26f06a969d7087396275e50d2e46 /tests/012/oop-mi.expected
parent2eaa8bdbb3a6d426a9de4d916dad63f77fd54092 (diff)
downloadtxr-b1fe95fef05b7e8d26ff82645d373c2ef0b5c449.tar.gz
txr-b1fe95fef05b7e8d26ff82645d373c2ef0b5c449.tar.bz2
txr-b1fe95fef05b7e8d26ff82645d373c2ef0b5c449.zip
multiple-inheritance: super-method loose ends.
* struct.c (do_super): New function. Now the common implementation for call_super_method, call_super_fun and super_method. (call_super_method, call_super_fun): Reduced to small wrappers around do_super. (super_method): Drill into the object to geet the struct_type handle, and then use do_super to get the method. * tests/012/oop-mi.tl: New tests for call-super-fun and call-super-method. * tests/012/oop-mi.expected: Updated. * txr.1: Updated.
Diffstat (limited to 'tests/012/oop-mi.expected')
-rw-r--r--tests/012/oop-mi.expected6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/012/oop-mi.expected b/tests/012/oop-mi.expected
index 91bc05df..301c7460 100644
--- a/tests/012/oop-mi.expected
+++ b/tests/012/oop-mi.expected
@@ -6,3 +6,9 @@ gs0
gs1-b1
(meth base3 b3m0)
(meth der1 b3m1)
+m1
+m2
+gm
+m1
+m2
+gm