Skip to content
Tcl Source Code View Ticket
Login

View Ticket

(un)export before method => segmentation fault.

Closed / Fixed2155658fffffffffffffffffffffffffffffffffCreated 18 years agoUpdated 18 years ago
Descriptionplain2008-10-09 19:47:02
Tcl: 8.6a3
Linux debsam 2.6.18-6-k7 #1 SMP Mon Aug 18 09:20:26 UTC 2008 i686 GNU/Linux

"segmentation fault" if "export" or "unexport" command
is before "method" command

oo::class create MyClass {
   export dodo
   method dodo {} {
      puts ok
   }
}

MyClass create myObj1
myObj1 dodo
msofer Ticket [2155658fff]: 3 changes [History diff]2008-10-10 04:44:55
dkfplain2008-10-10 20:08:37
Hmm, was an incorrectly built export record. Fixed in Tcl and TclOO HEADs.
Log in (anonymous is fine) to add a comment.