comp.lang.ada
 help / color / mirror / Atom feed
From: clsi!paulg@uunet.uu.net  (Paul Graham)
Subject: Subtype check on RETURN statement
Date: 22 Dec 92 23:55:57 GMT	[thread overview]
Message-ID: <PAULG.92Dec22155557@algol.clsi.COM> (raw)

Why is it that the subtype of a RETURNed expression must match the
return subtype of the containing function, without allowing for an
implicit array subtype conversion?  That is, why are the rules for the
RETURN statement different from the corresponding rules for a variable
assignment?

Paul Graham	(paulg@clsi.com)
--
Paul Graham			(paulg@clsi.com, support@clsi.com)
CAD Language Systems, Inc.	410-992-5700

                 reply	other threads:[~1992-12-22 23:55 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
replies disabled

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