Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 4cf93d82c011ac492ea86cc3d740fda21dc46c081006f7cfbea10442ff90dee6
Ticket: 929a918ec1b4adf0381fc1fc4609297185019ba8
docs should say oo::configurable can only be mixed in with oo::configurable
User & Date: dmcooke on 2024-09-03 20:24:28
Changes

  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"