Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 63c67b6eaede10339b7e932f98871b43ed27267887dc9a6f82be9c481e5bdbfd
Ticket: 586e71dce4f9513b688f00a71b9ea0d039ca1a88
command returned bad code: 0 if returns from "dict filter"
User & Date: sebres on 2017-12-08 13:57:04
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-wiki"
  4. comment changed to:
    Somewhere by execute of compiled "dict filter" we have a strange behavior by "return", in comparison to another cycles (where it causes no errors)... 
    Additionally it affects compiled variant only (thus at least within eval/time it looks alright)...
    
    <code><pre>% foreach {k v} {a b} {return $k,$v}
    a,b
    % dict filter {a b} script {k v} {return $k,$v}
    command returned bad code: 0
    % eval {dict filter {a b} script {k v} {return $k,$v}}
    a,b
    % time {dict filter {a b} script {k v} {return $k,$v}}
    a,b
    </pre></code>
    
    8.5 is definitely not affected here, but 8.6 and above.
    
  5. foundin changed to: ">= 8.6"
  6. is_private changed to: "0"
  7. login: "sebres"
  8. priority changed to: "5 Medium"
  9. resolution changed to: "None"
  10. severity changed to: "Minor"
  11. status changed to: "Open"
  12. submitter changed to: "sebres"
  13. subsystem changed to: "47. Bytecode Compiler"
  14. title changed to:
    command returned bad code: 0 if returns from "dict filter"
    
  15. type changed to: "Bug"