Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 53bf0adb53916d8ae0fd62ff391ff7110abcfce363f986a84849024fa7427ff9
Ticket: 91b3a5bb14e6e8ae1d1c5349af12e08879ea152d
msgcat with oo: error "self may only be called from inside a method"
User & Date: oehhar on 2024-07-15 07:24:57
Changes

  1. icomment:
    I ran the test cases with fatal results. Nearly all oo-tests (msgcat-15.*) fail.
    
    <verbatim>
    nmake -f makefile.vc test TESTFLAGS="-file msgcat.test"
    
    ==== msgcat-15.1 mc in class setup FAILED
    ==== Contents of test case:
    
            oo::define bar::ClassCur msgcat::mc con2
    
    ---- Result was:
    con2
    ---- Result should have been (exact matching):
    con2bar
    ==== msgcat-15.1 FAILED
    
    
    
    ==== msgcat-15.2 mc in class FAILED
    ==== Contents of test case:
    
            $baz::ObjCur method1
    
    ---- Result was:
    con2
    ---- Result should have been (exact matching):
    con2bar
    ==== msgcat-15.2 FAILED
    
    
    
    ==== msgcat-15.3 mc in classless object FAILED
    ==== Contents of test case:
    
            bar::ObjCur method1
    
    ---- Result was:
    con2
    ---- Result should have been (exact matching):
    con2bar
    ==== msgcat-15.3 FAILED
    
    
    
    ==== msgcat-16.2 mcpackagenamespaceget in class setup FAILED
    ==== Contents of test case:
    
            oo::define bar::ClassCur msgcat::mcpackagenamespaceget
    
    ---- Result was:
    ::oo::define
    ---- Result should have been (exact matching):
    ::msgcat::test::bar
    ==== msgcat-16.2 FAILED
    
    
    
    ==== msgcat-16.3 mcpackagenamespaceget in class FAILED
    ==== Contents of test case:
    
            $baz::ObjCur method1
    
    ---- Result was:
    ::oo::Obj206
    ---- Result should have been (exact matching):
    ::msgcat::test::bar
    ==== msgcat-16.3 FAILED
    
    
    
    ==== msgcat-16.4 mcpackagenamespaceget in classless object FAILED
    ==== Contents of test case:
    
            bar::ObjCur method1
    
    ---- Result was:
    ::oo::Obj207
    ---- Result should have been (exact matching):
    ::msgcat::test::bar
    ==== msgcat-16.4 FAILED
    
    </verbatim>
    
    Sorry, does not look so good.
    
    Harald
    
  2. login: "oehhar"
  3. mimetype: "text/x-fossil-wiki"
  4. username: "oehhar"