Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: a4a550a21ba08b5e36974976b265b0fc79c804ee1db5806c4706da3879cf073e
Ticket: 6ee2f5d5d6bc7d697b735f5389d833ff9e61e217
Tcl 9.0 "invalid character in array index" error for $a("b")
User & Date: avl42 on 2026-07-30 19:37:23
Changes

  1. closedate changed to: "2461252.3176303124"
  2. icomment:
    And one more thing:   I also made a mistake in the comments below: I had totally forgotten that ${...} indeed also got sanitized (de-"odd"ed) between tcl-8.x and tcl 9.0. Sorry about that.
    
    I've also had a look at your(oehhar) changes:  yes, they're fine and correct, except maybe for the last line regarding symmetry to expr...  symmetry is not the thing here...   Discussion back then came to the result that those
    tcl-8's odd-balls regarding $arr(...) and ${...} would just spoil all
    attempts at making something like [expr {a(((()=42+12}] a consistent parse.
    Maybe "consistency" would be a preferred wording w.r.t the changes and "expr".
    
  3. login: "avl42"
  4. mimetype: "text/plain"