Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b76c2174c0a833d357acd6cfd5ccfa9fee9eb1141da3bb4ea0b48cb29d1348f1
Ticket: b108e00ac8b1b6e449ea7843ea605ed27cc68c7c
Defining const with a different value should raise an error
User & Date: apnadkarni on 2026-01-05 16:48:39
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-plain"
  4. comment changed to:
    In my opinion, the second line below should raise an error as the value being assigned does not match the existing value.
    
    ```
    % const v 2
    % const v 3; # Should raise an error
    ```
    
  5. is_private changed to: "0"
  6. login: "apnadkarni"
  7. priority changed to: "5 Medium"
  8. private_contact changed to: "9546e9877f1a8899e25a89082561ee694e7fb402"
  9. resolution changed to: "None"
  10. severity changed to: "Minor"
  11. status changed to: "Open"
  12. submitter changed to: "apnadkarni"
  13. subsystem changed to: "- New Builtin Commands"
  14. title changed to:
    Defining const with a different value should raise an error
    
  15. type changed to: "Bug"