|
2021-04-21
| ||
| 19:39 | • Closed ticket [8142fb7f1f]: Deleting ::oo cripples the interpreter. plus 6 o... artifact: f86082e522 user: pooryorick | |
|
2021-04-20
| ||
| 15:47 | • Ticket [8142fb7f1f]: 3 changes artifact: d4fc643ad1 user: anonymous | |
|
2020-10-02
| ||
| 11:57 | • New ticket [8142fb7f1f]. artifact: 6e5edc742a user: pooryorick | |
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.