summaryrefslogtreecommitdiffstats
path: root/tests/012/oop-dsc.tl
Commit message (Collapse)AuthorAgeFilesLines
* defstruct: new :inherit clause.Kaz Kylheku2022-10-171-0/+15
| | | | | | | | | | | | | | | The :inherit clause allows custom struct clauses to inject inherited bases. * stdlib/struct.tl (defstruct): Recognize :inherit clause, adding symbol arguments to extra list of supers that get appended to the list coming from defstruct's seconda rgument. (define-struct-clause): Disallow :inherit clause name. * tests/012/oop-dsc.tl: New tests. * txr.1: Documented.
* define-struct-clause: add tests.Kaz Kylheku2022-10-051-0/+65
* tets/012/oop-dsc.tl: New file.