confirm: takes a test string as argument. Not a block.

This works just fine in Pharo:

b := x confirm: 'Do you really want to assign an uninitialized  
variable x to b?'

- on

On Apr 25, 2009, at 8:56, Stefan Schmiedl wrote:

> On Sat, 25 Apr 2009 01:43:44 +0200
> stepken <[email protected]> wrote:
>
>> Hi!
>>
>> b := x confirm: [:a | (a >= 1) & (a <= 4)].
>>
>> Fails in Pharo. Buggy in 3.10
>
> What fails? The assignment?
>
> s.
>
>> ... hmmm, perhaps there should be
>> better unit tests ...
>>
>> Is there any unit test out there, which tests for language  
>> conformity?
>>
>
> _______________________________________________
> Pharo-project mailing list
> [email protected]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to