Deleting ::oo cripples the interpreter.
Closed / Invalid8142fb7f1f14227cd845669aee821dc95d063259Created 6 years agoUpdated 6 years ago
Descriptionwiki2020-10-02 11:57:13
The following script
namespace delete ::oo {}
set a 5
results in this error:
invalid command name "::set"
anonymousplain2021-04-20 15:47:55
In the above script, both ::oo and the global namespace are deleted. "namespace delete" is unlike "namespace eval", curly brackets are not required. "namespace delete" takes a list of namespaces as arguments and deletes them all.
pooryorickwiki2021-04-21 19:39:18
Word. Closing as Invalid.
Log in (anonymous is fine) to add a comment.