Index: ChangeLog =================================================================== diff -u -r6ed4ee1fa83082cba7852aa3aa681351dbe8eea8 -r7e095cf77bbf64283e4ee1cfaa6f8ebbbbafa348 --- ChangeLog (.../ChangeLog) (revision 6ed4ee1fa83082cba7852aa3aa681351dbe8eea8) +++ ChangeLog (.../ChangeLog) (revision 7e095cf77bbf64283e4ee1cfaa6f8ebbbbafa348) @@ -1,3 +1,7 @@ +2008-03-18 + * allowed "abstract method" in additon to "abstract instproc" + and "abstract proc" + 2008-02-26 * xotcl.c: The double ;; chokes MSVC6 in the next line. (many thanks for Andreas Kupries for reporting) Index: generic/predefined.xotcl =================================================================== diff -u -r90f13fe04f5c707be3b56808a8a7992adab1855f -r7e095cf77bbf64283e4ee1cfaa6f8ebbbbafa348 --- generic/predefined.xotcl (.../predefined.xotcl) (revision 90f13fe04f5c707be3b56808a8a7992adab1855f) +++ generic/predefined.xotcl (.../predefined.xotcl) (revision 7e095cf77bbf64283e4ee1cfaa6f8ebbbbafa348) @@ -474,7 +474,7 @@ } ::xotcl::Object instproc abstract {methtype methname arglist} { - if {$methtype ne "proc" && $methtype ne "instproc"} { + if {$methtype ne "proc" && $methtype ne "instproc" && $methtype ne "method"} { error "invalid method type '$methtype', \ must be either 'proc' or 'instproc'." }