comp.lang.ada
 help / color / mirror / Atom feed
* Discriminants constraining unconstrained array types
@ 2001-10-20 15:49 Matthew Woodcraft
  2001-10-20 17:39 ` James Rogers
  0 siblings, 1 reply; 5+ messages in thread
From: Matthew Woodcraft @ 2001-10-20 15:49 UTC (permalink / raw)



The following rule appears in the GNAT coding style guide:

| Do not declare discriminated record types where the discriminant is
| used for constraining an unconstrained array type. (Discriminated
| records for a variant part are allowed.)

Does anyone know a reason to avoid this feature of the language in
general, or is it more likely that there's just some issue with the
runtime or bootstrap behaviour which makes it inadvisable to use in the
compiler itself?

-M-



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

end of thread, other threads:[~2001-10-20 21:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-20 15:49 Discriminants constraining unconstrained array types Matthew Woodcraft
2001-10-20 17:39 ` James Rogers
2001-10-20 19:04   ` Damien Carbonne
2001-10-20 20:55   ` Larry Kilgallen
2001-10-20 21:43   ` Jeffrey Carter

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