Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 761f6edbdb83bd34ce6f4deaccd2c2fc8b893efd
Ticket: 3614360fffffffffffffffffffffffffffffffff
return in expr mangles the stack
User & Date: dkf on 2013-06-05 21:22:32
Changes

  1. assignee changed to: "dgp"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    This crashes in a full debug build (without the optimizer work I'm going to commit very soon):
      apply {{} {expr {[return foo] + $a + $b}}}
    
    Error is:
      bad stack adjustment when compiling expr (was 0 instead of 1)
    
    I believe (from scanning the fossil history) that you may have fixed something in this area. (Note that I don't know what bytecode sequence is generated; disassembling hits the same panic.)
    
  4. foundin changed to: "current: 8.6.0"
  5. is_private changed to: "0"
  6. priority changed to: "9 Immediate"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "dkf"
  10. subsystem changed to: "47. Bytecode Compiler"
  11. title changed to: "return in expr mangles the stack"
  12. type changed to: "Bug"