There is an issue in info vars in current iTcl 4 releases that seems to have been stagnating for a while and I was wondering what the plan is for it.
The problem is that once you load itcl, info vars with no arguments stops working. The work around is to use info vars *.
So:
info vars
by itself returns the expected variables, but
package require itcl
info vars
throws an error:
namespace "::" is not a class namespace
I am seeing this on ActiveTcl 8.6.7 with iTcl 4.1.0 - but it has been there a while.
There is one mention from 2015 of the problem on sourceforge:
https://sourceforge.net/p/incrtcl/bugs/267/
but it never seems to have gone anywere.
We have quite a few customer scripts that include this and it will be difficult for them to fix in all circumstances.