David wrote:
> ... but no. After removing the redefine clause, everything compiles
> sweetly, but it does not work. Using the debugger, it seems that
> routine c is never entered for objects of class B. It is just
> returning the integer that I renamed c_int.
How are you calling routine c? You need to call it through a variable of
static type B, because routine c does not exist in the ancestor class A.
- Peter Gummer
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/eiffel_software/<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/eiffel_software/join (Yahoo! ID required)
<*> To change settings via email:
mailto:
eiffel_software-digest@...
mailto:
eiffel_software-fullfeatured@...
<*> To unsubscribe from this group, send an email to:
eiffel_software-unsubscribe@...
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/