comp.lang.ada
 help / color / mirror / Atom feed
From: "Jeffrey R. Carter" <spam.jrcarter.not@spam.not.acm.org>
Subject: Re: Is this a gnat problem?
Date: Tue, 19 Feb 2019 21:31:43 +0100
Date: 2019-02-19T21:31:43+01:00	[thread overview]
Message-ID: <q4hp3g$6dt$1@dont-email.me> (raw)
In-Reply-To: <7cf8c053-f702-4687-a1ef-8dc27afb99e9@googlegroups.com>

On 2/19/19 7:35 PM, Egil H H wrote:
> 
> 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;

Yes, and a task type without entries doesn't need "is":

task type Cyclic (S : Any_Cyclic_State) with Priority => S.Pri;

-- 
Jeff Carter
"C++ is like jamming a helicopter inside a Miata
and expecting some sort of improvement."
Drew Olbrich
51

  reply	other threads:[~2019-02-19 20:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-19 18:22 Is this a gnat problem? lyttlec
2019-02-19 18:33 ` Marek Kuziel
2019-02-19 18:35 ` Egil H H
2019-02-19 20:31   ` Jeffrey R. Carter [this message]
2019-02-19 22:47     ` lyttlec
replies disabled

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