Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c684bfc3b2fbf63a241cef74fb55d9b95517d7d5ddebf01e29220ea8d8944797
Ticket: 3ae1251264a95d5c600bdd79e41d62e261d7af31
string-29.6 fails due to interp alias
User & Date: andy on 2017-09-20 18:03:12
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    Check-in [45c4e5f731] on the amg-string-insert branch altered the way string.test is executed so that both bytecoded and non-bytecoded implementations would be tested.  The design approach was lifted from basic.test, namely to run all commands under test using a new [run] command which is [interp alias]'ed to [if 1] or [testevalex].
    
    This change causes test string-29.6 to fail.  The test in question calls [tcl::unsupported::representation] to confirm that a string representation is not needlessly being generated when using [string cat] to concatenate an empty list with a pure list.  When [string cat] is called directly, or when called as the argument to [if 1], it works correctly.  But when [string cat] is called by an interpreter alias to [if 1], the string representation is produced, causing the test to fail.
    
    For more information, see [https://sourceforge.net/p/tcl/mailman/message/36046091/]
    
  5. foundin changed to:
    45c4e5f731439886aa1770443dfcb9b810780e06a5c9ddd6a6ea6e49b5b8aa35
    
  6. is_private changed to: "0"
  7. login: "andy"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "662c23482b0bf6a505f39e48fb7ad43af8dee4d3"
  10. resolution changed to: "None"
  11. severity changed to: "Minor"
  12. status changed to: "Open"
  13. submitter changed to: "andy"
  14. subsystem changed to: "47. Bytecode Compiler"
  15. title changed to: " string-29.6 fails due to interp alias"
  16. type changed to: "Bug"