Overview
| Artifact ID: | c0617dc7e2b7d881aecfcb45e62f142ce2fde609 |
|---|---|
| Ticket: | 1821332fffffffffffffffffffffffffffffffff
TclOO: [self caller] |
| User & Date: | dkf on 2007-10-28 05:20:59 |
Changes
- icomment:
Logged In: YES user_id=79902 Originator: NO That's because that operation returns information about the *caller* of the method if that's also a method. Thus, If you'd done this: oo::class create test { method foo {} { my bar } method bar {} { puts [self caller]; my destroy } } [test new] foo you might have ended up with output like this: ::test ::oo::Obj6 foo Returning the other information would have been redundant. :-) - login: "dkf"
- mimetype: "text/plain"
- username: "dkf"