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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 2002:a24:1fc2:: with SMTP id d185mr3301473itd.6.1550601311929; Tue, 19 Feb 2019 10:35:11 -0800 (PST) X-Received: by 2002:a05:6830:16d4:: with SMTP id l20mr259336otr.0.1550601311790; Tue, 19 Feb 2019 10:35:11 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!news.gegeweb.eu!gegeweb.org!usenet-fr.net!proxad.net!feeder1-2.proxad.net!209.85.166.216.MISMATCH!y42no148926ita.0!news-out.google.com!d79ni206itc.0!nntp.google.com!y22no148991ita.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 19 Feb 2019 10:35:11 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=81.167.3.186; posting-account=uulyKwoAAAA86DO0ODu--rZtbje8Sytn NNTP-Posting-Host: 81.167.3.186 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <7cf8c053-f702-4687-a1ef-8dc27afb99e9@googlegroups.com> Subject: Re: Is this a gnat problem? From: Egil H H Injection-Date: Tue, 19 Feb 2019 18:35:11 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader01.eternal-september.org comp.lang.ada:55586 Date: 2019-02-19T10:35:11-08:00 List-Id: On Tuesday, February 19, 2019 at 7:22:09 PM UTC+1, lyttlec wrote: > > --- > package Cyclics is > > --- > > task type Cyclic (S : Any_Cyclic_State) is > with Priority => S.Pri; > end Cyclic; > end Cyclics; > > > The book code seems correct and I'm not sure if the modified code has > the effect intended in the text. > Can anyone help? Aspect specifications for tasks/task types, should come before *is*, like so: task type Cyclic (S : Any_Cyclic_State) with Priority => S.Pri is end Cyclic; -- ~egilhh