Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 9c993858da70fe2f67046a4017a06a903e5659dc
Ticket: 2189526fffffffffffffffffffffffffffffffff
Constructor chaining and empty body
User & Date: kennykb on 2008-10-23 14:15:03
Changes

  1. assignee changed to: "dkf"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    If the body of a base class constructor is empty,
    constructor chaining with [next] fails.
    
    Example:
    ----
    oo::class create a {
        constructor {} {}
    }
    oo::class create b {
        superclass a
        constructor {} {next}
    }
    b create c
    ----
    no next constructor implementation
        while executing
    "next"
        (class "::b" constructor line 1)
        invoked from within
    "b create c"
        (file "/home/kennykb/tmp/oops" line 9)
    ----
    
  4. foundin changed to: "obsolete: 8.6a4"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "kennykb"
  10. subsystem changed to: "35. TclOO Package"
  11. title changed to: "Constructor chaining and empty body"
  12. type changed to: "Bug"