Overview
| Artifact ID: | 2e75cd72db649e9901bd686f69bd9d9ca789dbb9bb091cc8797e9b4ba0b4f470 |
|---|---|
| Ticket: | 154f0982f2f701a1c3f964c0a3d54737361a3630
Tcl_NewObjectInstance() silently ignores existing namespace argument |
| User & Date: | dkf on 2024-05-23 11:38:58 |
Changes
- icomment:
To reiterate, TclOO ***must*** create the namespace; it's going to attach its primary object metadata to the namespace (via the NS's `clientData`) and the only time it is safe to do that is at creation. An existing namespace probably ought to be an error, at least when using the Tcl script level API. C API users can be more careful.
- login: "dkf"
- mimetype: "text/x-markdown"