Skip to content
Tcl Source Code History Of Ticket 217827ffffffffff
Login

History Of Ticket 217827ffffffffff

Artifacts Associated With Ticket 217827ffffffffff

  1. Ticket change [4bc0c6f1da] (rid 126762) by nobody on 2000-10-26 00:44:24:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 1532 RFE
      Version: 8.0.5
      SubmitDate: '1999-03-18'
      LastModified: '1999-04-05'
      Severity: MED
      Status: Closed
      Submitter: welch
      ChangedBy: stanton
      RelatedBugIDs: 977
      OS: Linux-Red Hat
      OSVersion: 5.2
      Machine: Other
      FixedDate: '2000-10-25'
      ClosedDate: '1999-04-05'
      
      
      Name:
      
      Jean-Luc Fontaine
      
      
      
      Extensions:
      
      BLT-2.4, Tktable-2.4, stooop-3.7, scwoop-2.6, tkpiechart-5.2.2
      
      
      
      CustomShell:
      
      see above
      
      
      
      DesiredBehavior:
      
          This patch for tcl8.0.5 make the following code possible: 
      
          
      
          set ($this,m) x
      
          puts $(this,m) ;# instead of $className::($this,m)
      
          thus making the stooop OO extension much less verbose when accessing
      
          class data members, and much faster too! 
      
          
      
          This also adds some consistency to the core: 
      
          
      
          namespace a {
      
            variable {}
      
          }
      
          set a::(x) 0
      
          puts $a::(x)  ;# works with current tcl version
      
          namespace a {
      
            set (x) 0
      
            puts $(x) ;# should work as line above
      
          }
      
          
      
      
      
      
      
      
      
      Patch:
      
      *** generic/tclCompile.c.origWed Mar 17 21:49:18 1999
      
      --- generic/tclCompile.cWed Mar 17 21:49:31 1999
      
      ***************
      
      *** 3152,3158 ****
      
                        c = *src;
      
                    }
      
        }
      
      ! if (src == name) {
      
            /*
      
             * A '$' by itself, not a name reference. Push a "$" string.
      
             */
      
      --- 3152,3158 ----
      
                        c = *src;
      
                    }
      
        }
      
      !   if ((src == name) && (*src != '(')) {
      
            /*
      
             * A '$' by itself, not a name reference. Push a "$" string.
      
             */
      
      *** generic/tclParse.c.origWed Mar 17 21:49:25 1999
      
      --- generic/tclParse.cWed Mar 17 21:49:31 1999
      
      ***************
      
      *** 813,819 ****
      
        string++;
      
            }
      
        }
      
      ! if (string == name1) {
      
            if (termPtr != 0) {
      
        *termPtr = string;
      
            }
      
      --- 813,819 ----
      
        string++;
      
            }
      
        }
      
      !         if ((string == name1) && (*string != '(')) {
      
            if (termPtr != 0) {
      
        *termPtr = string;
      
            }
      
      *** tests/parse.test.origWed Mar 17 21:55:46 1999
      
      --- tests/parse.testWed Mar 17 21:56:54 1999
      
      ***************
      
      *** 181,189 ****
      
            set b
      
        } {a$!}
      
        test parse-5.12 {array variable substitution} {
      
      !     set b a$()
      
      !     set b
      
      ! } {a$()}
      
        catch {unset a}
      
        test parse-5.13 {array variable substitution} {
      
            catch {unset a}
      
      --- 181,188 ----
      
            set b
      
        } {a$!}
      
        test parse-5.12 {array variable substitution} {
      
      !     list [catch {set b a$()} msg] $msg
      
      ! } {1 {can't read "()": no such variable}}
      
        catch {unset a}
      
        test parse-5.13 {array variable substitution} {
      
            catch {unset a}
      
      
      
      
      
      
      
      
      
      PatchFiles:
      
          generic/tclCompile.c
      
          generic/tclParse.c
      
          tests/parse.test
      
          
      
      
      
      
      
      
      
      
      
    4. foundin initialized to: "final: 8.0.5"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "69. Other"
    10. title initialized to: "empty named array support"
    11. type initialized to: "Bug"
  2. Ticket change [75dbd07a99] (rid 105462) by welch on 2000-10-26 07:59:45:

    1. closedate changed to: "2000-10-26T00:59:45"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Invalid"
    5. status changed to: "Closed"
  3. Ticket change [8c0a5219d9] (rid 127686) by dgp on 2001-04-13 23:15:12:

    1. closedate changed to: "2001-04-13T16:15:12"
    2. closer changed to: "dgp"
    3. subsystem changed to: "45. Parsing and Eval"