Skip to content
Tcl Source Code History Of Ticket 929a918ec1b4adf0
Login

History Of Ticket 929a918ec1b4adf0

Artifacts Associated With Ticket 929a918ec1b4adf0

  1. Ticket change [1387d8267a] (rid 228580) by mnsummerfield on 2024-07-09 10:04:54:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-fossil-plain"
    4. comment initialized to:
      Page: https://www.tcl.tk/man/tcl9.0/TclCmd/configurable.html#M5 This is
      the description section.
      
      I suggest adding a sentence something like:
      
          Note that oo::configurable classes can only be mixed in (using
      `mixin`) with _other_ oo::configurable classes, not with plain oo::class
      classes.
      
      The reason for suggesting this is that I tried mixing in an oo::class with
      an oo::configurable and got a very confusing "unknown method "configure":"
      error message.
      
    5. foundin initialized to: "9.0b2"
    6. is_private initialized to: "0"
    7. login: "mnsummerfield"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "852538396f016355a4575694e3e122b83db2bc48"
    10. resolution initialized to: "None"
    11. severity initialized to: "Minor"
    12. status initialized to: "Open"
    13. submitter initialized to: "mnsummerfield"
    14. subsystem initialized to: "69. Other"
    15. title initialized to:
      docs should say oo::configurable can only be mixed in with oo::configurable
      
    16. type initialized to: "Bug"
  2. Ticket change [c512141ca0] (rid 228581) by oehhar on 2024-07-09 10:34:02:

    1. icomment:
      Great ! Could you give a somple sample for the error case.
      Maybe, the issue is not intentional or the error message may be imporved.
      
      Thanks,
      Harald
      
    2. login: "oehhar"
    3. mimetype: "text/plain"
  3. Add attachment "obj5-bad.tcl" [86d133046b] (rid 228592) by mnsummerfield on 2024-07-10 07:18:20.

  4. Ticket change [4cf93d82c0] (rid 233043) by dmcooke on 2024-09-03 20:24:28:

    1. icomment:
      This is because the `mixin` slot works by _replacement_ by default.  So the bare statement `mixin V` replaces the `::oo::configuresupport::configurable` mixin that the `oo::configurable` metaclass adds.
      
      It should work if you use `mixin -append V` instead.
      
      I don't know why `mixin` defaults to replacement, instead of appending (like `variable` does). It doesn't make any sense.
      
    2. login: "dmcooke"
    3. mimetype: "text/x-markdown"
  5. Ticket change [3f6ccf4666] (rid 233511) by dkf on 2024-09-17 08:51:28:

    1. icomment:
      The real problem comes if someone joins two class hierarchies that use the property list slots in different ways (such as `oo::configurable` and some of the stuff that's been mooted for Tk megawidgets, though in that case they also fight over the meaning of `configure` as a method). There really isn't a good way around that.
      
      I guess we need a bit better documentation to describe the limits of what's possible.
      
    2. login: "dkf"
    3. mimetype: "text/x-markdown"