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,79d82904f3b7ef79 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!postnews.google.com!q19g2000prn.googlegroups.com!not-for-mail From: Adam Beneschan Newsgroups: comp.lang.ada Subject: Re: "limited with" packages Date: Wed, 20 Jun 2007 11:44:07 -0700 Organization: http://groups.google.com Message-ID: <1182365047.387973.51040@q19g2000prn.googlegroups.com> References: <1182345613.667367.212750@q69g2000hsb.googlegroups.com> <1182353886.851068.178990@j4g2000prf.googlegroups.com> <1182356849.607952.278940@q75g2000hsh.googlegroups.com> <1182363216.698917.34860@d30g2000prg.googlegroups.com> <1182364039.693013.20150@z28g2000prd.googlegroups.com> NNTP-Posting-Host: 66.126.103.122 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: posting.google.com 1182365051 20816 127.0.0.1 (20 Jun 2007 18:44:11 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 20 Jun 2007 18:44:11 +0000 (UTC) In-Reply-To: <1182364039.693013.20150@z28g2000prd.googlegroups.com> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.12) Gecko/20050922 Fedora/1.7.12-1.3.1,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: q19g2000prn.googlegroups.com; posting-host=66.126.103.122; posting-account=cw1zeQwAAABOY2vF_g6V_9cdsyY_wV9w Xref: g2news1.google.com comp.lang.ada:16282 Date: 2007-06-20T11:44:07-07:00 List-Id: On Jun 20, 11:27 am, Anh Vo wrote: > On Jun 20, 11:13 am, Adam Beneschan wrote: > > > On Jun 20, 9:27 am, adam.betts...@gmail.com wrote: > > > This time the compiler is complaining that: > > > 1) procedure get_type_one in the package body of my_package is "not > > > fully conformant with declaration" in the spec and that, > > > 2) the type of t_1 does not match > > > I think that's a compiler bug. > > I am not sure about that. The first thing to correct correct the > syntax error as marked below There were a number of errors that I just assumed didn't occur in the actual code he was trying to compile. You can't even get as far as he did without making type_one "tagged private", since 'Class in my_package's spec wouldn't be accepted on it. So I'm assuming that the code just wasn't typed into c.l.a correctly. -- Adam