Rick, we still have [bugs:#1300] open, because documentation for the fix is
to be done.

As far as I understand, in general, private (instance and class) methods
can be called from any instance of the same class or subclass, or from the
same class/subclass itself.  (I guess this is also what the appropriate
rexxref section "Public and Private Methods" says, although it could
probably be clearer)

I'm struggling with the additional restrictions implemented for run(),
setMethod(), and unsetMethod().  In plain English words - these would be
exactly what?

The code [r10690] is:

if (sender == this){  return;}

.
.

// if the sender is a class object, check the class for compatibility with
the
// method scope
if (isOfClassType(Class, sender))
{
  // if this class is part of the object's hierarchy, this is also permitted
  if (isInstanceOf((RexxClass *)sender))
  {
    return;
  }
}
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to