Index: tests/contains.test =================================================================== diff -u -rfa93101c8752ada9299561f075b61c2e6144e3f5 -r3d4cb79342d1f74cdcc39d6d8b87e9c475f2706a --- tests/contains.test (.../contains.test) (revision fa93101c8752ada9299561f075b61c2e6144e3f5) +++ tests/contains.test (.../contains.test) (revision 3d4cb79342d1f74cdcc39d6d8b87e9c475f2706a) @@ -50,10 +50,27 @@ Tree create 1.3 -label 1.3 }] + + +# +# Test resolving next without namespace import/path +# namespace path "" +# make sure, we have no next defined +? {info command ::next} "" +nx::Class create C { + :public method foo {} {puts "call next";next}; + :create c1 +} +? {c1 foo} "" +? {c1 foo} "" + + # Test resolving of implicit namespaces in relationcmds (here # superclass) in the nx namespace. +namespace path "" + namespace eval ::nx { #puts stderr =====1