TclOO oo::objdefine variable
Deletedc4665869a7ea77bbcf3ebac1e85dadab8d64c2b5Created 10 years agoUpdated 10 years ago
Descriptionplain2016-07-04 18:46:11
This code produces an error:
oo::class create A {
constructor {} {
oo::objdefine [self] variable var
set var something
}
method a {} {
puts $var
}
}
[A new] a
aspectwiki2016-07-05 04:51:15
Duplicate of [ef422602e7]
Log in (anonymous is fine) to add a comment.