comp.lang.ada
 help / color / mirror / Atom feed
* Problems with visibility of implicit function...
@ 1996-06-18  0:00 Dale Stanbrough
  1996-06-18  0:00 ` Tucker Taft
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Dale Stanbrough @ 1996-06-18  0:00 UTC (permalink / raw)



I've got some problems calling an implicity declared function
which is hidden by an explicity declared one. I've tried
renaming, only to end up with infinite recursion. Is the
implicity declared function "hidden from all visibility"?

--------------------------------------------
package lists is
	type list is private;
	
	function full(item:list) return boolean;
private
	...
end lists;

with lists;
package stacks is
	type stack is private;
	
	function full(item:stack) return boolean;
	
private
	type stack is new lists.list;
	-- inherited & implicitly defined full...
	-- function full(item:stack) return boolean;
end;

package body stacks is

	function full(item:stack) return boolean is
	begin
		...what?
		should i just call on lists.full?
	end;
	
end stacks;


BTW WRT Annotated LRM, 8.5.4(8.g), what do alligators have to
do with squirrels?  ?:-)

Dale




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~1996-06-19  0:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-06-18  0:00 Problems with visibility of implicit function Dale Stanbrough
1996-06-18  0:00 ` Tucker Taft
1996-06-18  0:00   ` progers
1996-06-19  0:00     ` Robert A Duff
1996-06-19  0:00 ` Chris Warack <sys mgr>
1996-06-19  0:00 ` Norman H. Cohen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox