Index: TODO =================================================================== diff -u -r620972f9a159f83b824f229ab406331e6bd238de -r8eb8f0692e858ee3b4a7f90d0e16bae6f835330f --- TODO (.../TODO) (revision 620972f9a159f83b824f229ab406331e6bd238de) +++ TODO (.../TODO) (revision 8eb8f0692e858ee3b4a7f90d0e16bae6f835330f) @@ -2715,12 +2715,24 @@ * extended regression test * base objectparameter on "info slots" +- nsf.c + * added "pattern" to "info lookup slots" + * added "pattern" to "info slots" + * extended regression test + TODO: - missing in c-based "info slots": - * handling of pattern (needed?) - * handle source (as well in "info lookup slots") + * handle object specific "info slots" * regression tests (eg. "$cls class info slots" vs. "$cls info slots", "-closure") + * "info slots" is not in the migration guide +- TODO: why do we have to use ::info in the "info" ensemble? + see nx.tcl + :method "info lookup slots" {{-type ::nx::Slot} -source pattern:optional} { + set cmd [list ::nsf::methods::object::info::lookupslots -type $type] + ... + } + - The following is unsafe, but used in nx.tcl (and maybe as well by xotcl2.tcl) obj method foo {{x ""}} { bar ... {*}$x }