Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 506c5fda8bdac8acb0b49f7504a97fb706038ad64a788cd43887c13675b2a4e8
Ticket: 7a0f53f43c39a69d5a17f41b29f512ba39dfa05e
Arguments of empty constructor not checked properly
User & Date: AlanGrunwald on 2024-03-14 10:33:15
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-markdown"
  4. comment changed to:
    Consider:
    
        % info patchlevel
        8.6.13
        % oo::class create foo {constructor {} {}}
        ::foo
        % set f [foo new a b c]
        ::oo::Obj12
    
    It seems that if the constructor has **any** definition, then the arguments are checked properly
    
        % oo::class create foo {constructor {} { }}
        ::foo
        % set f [foo new a b c]
        wrong # args: should be "foo new"
    
  5. foundin changed to: "8.6.13"
  6. is_private changed to: "0"
  7. login: "AlanGrunwald"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "66fa165f4d6461fc4cd65db7288486f7bd6fbf83"
  10. resolution changed to: "None"
  11. severity changed to: "Minor"
  12. status changed to: "Open"
  13. submitter changed to: "AlanGrunwald"
  14. subsystem changed to: "35. TclOO Package"
  15. title changed to:
    Arguments of empty constructor not checked properly
    
  16. type changed to: "Bug"