diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2022-10-11 23:05:16 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2022-10-11 23:05:16 -0700 |
commit | 2cda9b946d701faa308b0915c83ea48fb94d94af (patch) | |
tree | a546879daba90dfd65fc370ab1e03475f7778d77 /tests/012/man-or-boy.expected | |
parent | aa02bc7f31edabb9e09f9756d7ae8fbc41995017 (diff) | |
download | txr-2cda9b946d701faa308b0915c83ea48fb94d94af.tar.gz txr-2cda9b946d701faa308b0915c83ea48fb94d94af.tar.bz2 txr-2cda9b946d701faa308b0915c83ea48fb94d94af.zip |
structs: optional init-exprs now useful in :delegate
* stdlib/struct.tl (:delegate): Handle the two-element
form of the optional parameter, which specifies the
usual initializing expression for the default value.
This is just passed through as-is to the generated
method. Diagnose if the three-element form occurs.
* tests/012/oop.tl: Some new tests.
* txr.1: Documented.
Diffstat (limited to 'tests/012/man-or-boy.expected')
0 files changed, 0 insertions, 0 deletions