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 <
[hidden email]> 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
>
[hidden email]
>
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project