Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 68aded8997f52e7ed3dcf002d7da728d4e73f65e03b2fec64f4be0940d478d01
Ticket: cc1e91552c0ca1817292d951f8c694b28c2b2251
Regression in list expansion
User & Date: max on 2019-01-08 10:51:28
Changes

  1. assignee changed to: "dgp"
  2. comment changed to:
      *  tcl-8.6.8 and earlier:
    <verbatim>
    % list [list {*}[set a " "]]
    {}
    </verbatim>
    
      *  tcl-8.6.9:
    <verbatim>
    % list [list {*}[set a " "]]
    { }
    </verbatim>
    
    This breaks some 20 tests in the SQLite test suite.
    
  3. icomment:
    Bisecting core-8-6-branch turned up [c9318a708c] as having caused the regression.
    
    Also, kbk found out that only the bytecoded <tt>list</tt> command is affected by the regression, but not the interpreted one:
    
    <verbatim>
    % list [list {*}[set a " "]]
    { }
    % set c list
    list
    % list [$c {*}[set a " "]]
    {}
    </verbatim>
    
  4. login: "max"
  5. mimetype: "text/x-fossil-wiki"