David Chisnall wrote:
> This then checks whether the object responds to -doubleValue, and if
> it does calls that:
> 
> https://github.com/gnustep/libs-gui/blob/master/Source/NSCell.m#L265
> 
> Unfortunately, in this case, it appears that the object value is
> self, so you get infinite recursion.

I think this condition is always false.  _cell.has_valid_object_value
is NO and _object_value is nil.  So it jumps to NSCell.m:269 and
SMDoubleSliderCell's -stringValue is called which calls -stringHiValue
which in turn calls -doubleHiValue and from there the infinite
recursion is in place.

At least this is what I observe in the debugger.

_______________________________________________
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to