comp.lang.ada
 help / color / mirror / Atom feed
From: AdaMagica <christ-usch.grein@t-online.de>
Subject: Re: Basic issue with dotted notation and tagged types
Date: Mon, 22 Oct 2012 03:41:07 -0700 (PDT)
Date: 2012-10-22T03:41:07-07:00	[thread overview]
Message-ID: <f2cf559e-fcc6-4873-ad18-d5e0de21caa3@googlegroups.com> (raw)
In-Reply-To: <op.wmjwl6mdule2fv@cardamome>

There is a similar problem:

type T is record
  I: Integer;
end record;

function F return T is
  I: Integer := -1;  -- *
begin
  return F.I;  -- recursive call to F and select component I;
               -- or I declared inside F at *
end F;

Without looking in the RM, I guess it's the latter.



      parent reply	other threads:[~2012-10-22 10:41 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-21 22:55 Basic issue with dotted notation and tagged types Yannick Duchêne (Hibou57)
2012-10-22  7:46 ` J-P. Rosen
2012-10-22  8:02   ` Dmitry A. Kazakov
2012-10-22 13:46     ` Yannick Duchêne (Hibou57)
2012-10-22 10:52   ` Marius Amado-Alves
2012-10-22 11:18     ` Georg Bauhaus
2012-10-22 11:37       ` Marius Amado-Alves
2012-10-22 14:11       ` Yannick Duchêne (Hibou57)
2012-10-22 11:45     ` Niklas Holsti
2012-10-22 14:17       ` Maciej Sobczak
2012-10-22 13:50     ` Yannick Duchêne (Hibou57)
2012-10-22 10:41 ` AdaMagica [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