Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: cf6af92bec2b224fc8489248b6909858532bc331a58a3bdb43ed0d67a5729e95
Ticket: 6ee2f5d5d6bc7d697b735f5389d833ff9e61e217
Tcl 9.0 "invalid character in array index" error for $a("b")
User & Date: apnadkarni on 2026-07-30 02:37:13
Changes

  1. icomment:
    It appears this is a result of [TIP 465](https://core.tcl-lang.org/tips/doc/trunk/tip/465.md). To quote,
    
    *Generally disallowing bare open parens, quotes and braces within array indices would mean that array indices on left hand side of an assignment could follow same rules as on right hand side*
    
    The motivation seems to have been TIP 282, which however has never come to a vote.
    
    I wasn't privy to the original discussions so can't comment further. Leaving it to those who were to decide whether this is a bug or close as works-as-designed.
    
  2. login: "apnadkarni"
  3. mimetype: "text/x-markdown"