comp.lang.ada
 help / color / mirror / Atom feed
From: russ lyttle <lyttlec@removegmail.com>
Subject: Re: Gnat Problem - Freezing too soon
Date: Sun, 3 Mar 2019 19:33:16 -0500
Date: 2019-03-03T19:33:16-05:00	[thread overview]
Message-ID: <q5hroa$1u7k$1@gioia.aioe.org> (raw)
In-Reply-To: lyfts3hcp0.fsf@pushface.org

On 3/3/19 4:26 PM, Simon Wright wrote:
> russ lyttle <lyttlec@removegmail.com> writes:
> 
>> On 3/2/19 4:35 PM, Simon Wright wrote:
> 
>>> With regard to
>>>
>>>      protected type Sporadic_Agent (S: Any_Sporadic_State)
>>>      with Priority => S.Ceiling_Prioriy
>>>      is
>>>
>>> all the compilers are seriously confused:
>>>
>>>      sporadics.ada:30:22: no selector "Ceiling_Prioriy" for type "Sporadic_State'Class" defined at line 17
>>>      sporadics.ada:30:23: possible misspelling of "Ceiling_Priority"
>>>      sporadics.ada:30:23: possible misspelling of "Ceiling_Priority"
>>>      sporadics.ada:30:23: possible misspelling of "Ceiling_Priority"
>>>
>>> and you only have to look at the task equivalent above to see that it
>>> should have been OK. This one looks like another compiler error to me.
>>>
>> There is a misspelling: Prioriy => Priority. Correct that misspelling
>> and the idiom _sometimes_ works without the "not null".
> 
> Oh dear. Colour _me_ confused.
> 
>> The bug report had an instance of where the compiler failed. Would it
>> be helpful to add an instance where it passed?
> 
> Maybe so, I read once that the experts 'merely' fire up the compiler
> under the debugger and go straight to the source of the problem. Scary.
> That said, I don't see that it could hurt.
>   It looks like it was two separate bugs involving "with Priority". One 
was fixed, but a new one introduced. "not null" fixes the new one.

  reply	other threads:[~2019-03-04  0:33 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-28 18:34 Gnat Problem - Freezing too soon russ lyttle
2019-02-28 21:19 ` Anh Vo
2019-02-28 21:31   ` russ lyttle
2019-02-28 21:22 ` Simon Wright
2019-02-28 22:11   ` russ lyttle
2019-03-01  0:49     ` Anh Vo
2019-03-01 14:21       ` russ lyttle
2019-03-01 16:54         ` Anh Vo
2019-03-01 21:50           ` russ lyttle
2019-03-02  1:08             ` Anh Vo
2019-03-02  3:55               ` russ lyttle
2019-03-02  5:50                 ` Anh Vo
2019-03-02 20:19                   ` russ lyttle
2019-03-02 21:35                     ` Simon Wright
2019-03-03 20:42                       ` russ lyttle
2019-03-03 21:26                         ` Simon Wright
2019-03-04  0:33                           ` russ lyttle [this message]
2019-03-02 14:09             ` Simon Wright
2019-03-01  8:12     ` Simon Wright
2019-03-01 14:17       ` russ lyttle
2019-03-01 18:10     ` Simon Wright
2019-03-01 21:35       ` russ lyttle
replies disabled

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