From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,154942e4f1d1b8e9 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news1.google.com!proxad.net!134.158.69.22.MISMATCH!in2p3.fr!oleane.net!oleane!hunter.axlog.fr!nobody From: Jean-Pierre Rosen Newsgroups: comp.lang.ada Subject: Re: Dynamically tagged expression required Date: Fri, 09 Dec 2005 13:05:06 +0100 Organization: Adalog Message-ID: References: <2852224.m2vuDFxfOX@linux1.krischik.com> NNTP-Posting-Host: mailhost.axlog.fr Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: s1.news.oleane.net 1134133276 6614 195.25.228.57 (9 Dec 2005 13:01:16 GMT) X-Complaints-To: abuse@oleane.net NNTP-Posting-Date: Fri, 9 Dec 2005 13:01:16 +0000 (UTC) User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: fr, en In-Reply-To: Xref: g2news1.google.com comp.lang.ada:6795 Date: 2005-12-09T13:05:06+01:00 List-Id: Maciej Sobczak a �crit : > "Assign values to them" is a problem here. > As the subject of my original post says (and what compiler told me), > "dynamically tagged expression required". > > What can I provide as a dynamically tagged expression? > Actually, the compiler message is technically correct, but rather unhelpful. For the casual user, it is enough to say that in an assignment, the LHS and the RHS must have the same type. In your case, the RHS is of type Shape'Class, therefore the LHS must be of type Shape'Class (possibly thanks to a conversion). -- --------------------------------------------------------- J-P. Rosen (rosen@adalog.fr) Visit Adalog's web site at http://www.adalog.fr