Overview
| Artifact ID: | ed774581b66b83fcb19b2642f8bba879140a333e4f53e09ace7d0b8edcdae8f7 |
|---|---|
| Ticket: | 68050339b564d3c155cb9d9b324262ed7b3b65f3
classmethod fails if no argument supplied to class create |
| User & Date: | dgp on 2024-09-16 19:08:29 |
Changes
- closedate changed to: "2460570.29756156"
- closer changed to: "dgp"
- icomment:
This bug fix applied to Tcl trunk creates three test failures in Itcl 4.3.0 typeclass.test ==== rename-1.3 rename to "" deletes an instance FAILED ==== Contents of test case: type dog { } dog fido rename fido "" namespace children ::dog ---- Result was: {::dog:: oo } ---- Result should have been (exact matching): ==== rename-1.3 FAILED ==== rename-1.4 rename to "" deletes an instance even after a rename FAILED ==== Contents of test case: type dog { } dog fido rename fido spot rename spot "" namespace children ::dog ---- Result was: {::dog:: oo } ---- Result should have been (exact matching): ==== rename-1.4 FAILED ==== destroy-1.1 destroy cleans up the instance FAILED ==== Contents of test case: type dog { option -color golden } set a [namespace children ::dog::] dog create spot set ns [info object namespace spot] set b [namespace children ::itcl::internal::variables$ns] spot destroy set c [namespace which ::itcl::internal::variables$ns] list $a $b $c [info commands ::dog::spot] ---- Result was: {{::dog:: oo }} ::itcl::internal::variables::oo::Obj123::dog {} {} ---- Result should have been (glob matching): {} ::itcl::internal::variables::*::dog {} {} ==== destroy-1.1 FAILED - login: "dgp"
- mimetype: "text/plain"