comp.lang.ada
 help / color / mirror / Atom feed
* Ada95 language design question (accessibility rules and type extensions)
@ 2001-12-18 18:27 Mark Lundquist
  2001-12-20 22:13 ` Nick Roberts
  0 siblings, 1 reply; 2+ messages in thread
From: Mark Lundquist @ 2001-12-18 18:27 UTC (permalink / raw)


The invocation of accessibility rules in RM 3.9.1(3) is designed to prevent
dangling dispatch.  It seems to me that another way would have been to
disallow assignment of a tagged type to the classwide type of a statically
shallower parent.  Does anyone know why that would not have worked?

What got me started thinking on this was the common complaint about the
implementation of controlledness, and the ramification of this rule that
controlled types can't be declared deeper than library-level...

-- mark
--------------
Reply by email to: Mark dot Lundquist at ACM dot org
Consulting services: http://home.attbi.com/~mlundquist2/consulting






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

end of thread, other threads:[~2001-12-20 22:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-18 18:27 Ada95 language design question (accessibility rules and type extensions) Mark Lundquist
2001-12-20 22:13 ` Nick Roberts

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