Overview
| Artifact ID: | fe24eeb8175ee4aecdbea48b5f4c7c622c5d7f36 |
|---|---|
| Ticket: | 3057639fffffffffffffffffffffffffffffffff |
| Date: | 2010-09-02 00:41:36 |
| User: | andreas_kupries |
| Artifact Attached: | 47122325e1e873cca40a87108636c4f595977781 |
| Filename: | lappend_bug.txt |
| Description: | Code demonstrating the issue. |
Content:
1 2 3 4 5 6 7 8 9 10 11 12proc test {oper elem value} { switch -- $oper { add { lappend ::env($elem) $value } } } test add key "new value" # This is a minimal case that will cause the problem. Note that the following code fails in both 8.4 and 8.5: proc test {oper elem value} { lappend ::env($elem) $value } test add key "new value"
