Index: TODO =================================================================== diff -u -r9b68b62b73c4fb90fcbdecc4287511f2c778075d -r4421b3ab2a573245c2ae2a84e31c2be244ec4a74 --- TODO (.../TODO) (revision 9b68b62b73c4fb90fcbdecc4287511f2c778075d) +++ TODO (.../TODO) (revision 4421b3ab2a573245c2ae2a84e31c2be244ec4a74) @@ -5842,26 +5842,18 @@ ======================================================================== TODO: -- Bad interaction between colon-prefix and {*} operator? +- Improve error message with {*} operator, not 'unknown'. Object new { - :object method foo {a b c args} {;} - :{*}[list foo 1 2 3 4 5 6]; # Should be equivalend to ':foo 1 2 3 4 5 6', but isn't + :object method foo {a b c args} { puts --[current method]} + {*}[list :foo 1 2 3 4 5 6]; # Should be equivalendt to ':foo 1 2 3 4 5 6', but isn't + : {*}[list foo 1 2 3 4 5 6]; # Should be equivalent to ':foo 1 2 3 4 5 6', but isn't + catch {:{*}[list foo 1 2 3 4 5 6]} msg; puts msg=$msg } -... gives: +proc =foo {a b c args} { puts foo } +catch {={*}[list foo 1 2 3 4 5 6]} msg; puts msg=$msg -::nsf::__#0: unable to dispatch method 'unknown' - while executing -":{*}[list foo 1 2 3 4 5 6]" - ::nx::Object ::nx::Class->new - invoked from within -"Object new { - :object method foo {a b c args} {;} - :{*}[list foo 1 2 3 4 5 6] - :foo 1 2 3 4 5 6 -}" - - Under core-8-5-branch, make test --enable-development yields an assertion failure: ./tests/parameters.test