comp.lang.ada
 help / color / mirror / Atom feed
From: wayne@ada-uts
Subject: Re: Verdix Corp ADA-language developmen
Date: 29 Aug 88 13:11:00 GMT	[thread overview]
Message-ID: <57900079@ada-uts> (raw)
In-Reply-To: 2410@elrond.CalComp.COM


>                             Furthermore, Verdix does NOT require that
> the body of a generic be compiled before its instantiation.  It is
> possible to write mutually dependent generics (each generic
> instantiates the other) in Verdix, where most compilers will gag on
> such code.  

Could you explain this a little more?  My understanding of the LRM
leads me to believe this is illegal (LRM: 12.3:18):

  "Recursive generic instantiation is not allowed in the following
   sense:  if a given generic unit includes an instantiation of a
   second generic unit, then the instance generated by this
   instantiation must not include an instance of the first generic
   unit (whether this instance is generated directly, or indirectly
   by intermediate instantiations)."
   
It seems compilers should gag, or should at least cough.

                                              Wayne Wylupski

      parent reply	other threads:[~1988-08-29 13:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1988-08-19 17:04 Verdix Corp ADA-language development systems Robert J. Boulanger
1988-08-23  6:38 ` Steven L. Baur
1988-08-24 10:48   ` Karl A. Nyberg
1988-08-25 14:50   ` David E. Emery
1988-08-29 13:11 ` wayne [this message]
replies disabled

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