diff options
| author | dkf <donal.k.fellows@manchester.ac.uk> | 2024-08-06 11:15:29 (GMT) |
|---|---|---|
| committer | dkf <donal.k.fellows@manchester.ac.uk> | 2024-08-06 11:15:29 (GMT) |
| commit | d067bc4e9d912461ed88f970f84183f2ae046b81 (patch) | |
| tree | 10b477c4f96989d84a5453310c9715aaef2b3413 /doc/class.n | |
| parent | df19b3581f7a45b260c626d77a2d6ca7d3363360 (diff) | |
| parent | 5b8e7ab89dcc095ee37af0178bbdd5805feb0fcf (diff) | |
| download | tcl-d067bc4e9d912461ed88f970f84183f2ae046b81.zip tcl-d067bc4e9d912461ed88f970f84183f2ae046b81.tar.gz tcl-d067bc4e9d912461ed88f970f84183f2ae046b81.tar.bz2 | |
Force named namespaces to be made by TclOO. [154f0982f2]
Diffstat (limited to 'doc/class.n')
| -rw-r--r-- | doc/class.n | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/class.n b/doc/class.n index 198ae41..b68af5d 100644 --- a/doc/class.n +++ b/doc/class.n @@ -83,8 +83,11 @@ resolved within the calling context's namespace if not fully qualified), passing the arguments, \fIarg ...\fR, to the constructor, and (if that returns a successful result) returning the fully qualified name of the created object (the result of the constructor is ignored). The name of the instance's -internal namespace will be \fInsName\fR unless that namespace already exists -(when an arbitrary name will be chosen instead). If the constructor fails +internal namespace will be \fInsName\fR; +.VS +it is an error if that namespace cannot be created. +.VE +If the constructor fails (i.e., returns a non-OK result) then the object is destroyed and the error message is the result of this method call. .SH EXAMPLES |
