Thread overview
[phobos] phobos commit, revision 2189
Nov 23, 2010
dsource.org
Nov 23, 2010
Lutger Blijdestijn
Nov 23, 2010
Don Clugston
Nov 24, 2010
Masahiro Nakagawa
Nov 24, 2010
Masahiro Nakagawa
November 23, 2010
phobos commit, revision 2189


user: Masahiro Nakagawa

msg:
Clean up std.utf. Remove UtfError and toUTF* shortcut functions. Add attributes. count function supports dchar

http://www.dsource.org/projects/phobos/changeset/2189

November 23, 2010
Hello,

This changeset caused a couple of unittest errors on my machine because of the added pure:

Testing generated/linux/debug/unittest/std/utf
std/utf.d(611): Error: pure function '__unittest5' cannot call impure
function 'expectError_'
std/utf.d(612): Error: pure function '__unittest5' cannot call impure
function 'expectError_'
std/utf.d(613): Error: pure function '__unittest5' cannot call impure
function 'expectError_'
std/utf.d(614): Error: pure function '__unittest5' cannot call impure
function 'expectError_'
std/utf.d(615): Error: pure function '__unittest5' cannot call impure
function 'expectError_'
std/utf.d(655): Error: pure function '__unittest6' cannot call impure
function 'expectError_'
std/utf.d(656): Error: pure function '__unittest6' cannot call impure
function 'expectError_'
std/utf.d(657): Error: pure function '__unittest6' cannot call impure
function 'expectError_'
std/utf.d(658): Error: pure function '__unittest6' cannot call impure
function 'expectError_'
std/utf.d(659): Error: pure function '__unittest6' cannot call impure
function 'expectError_'
std/utf.d(752): Error: pure function '__unittest8' cannot call impure
function 'expectError_'
std/utf.d(753): Error: pure function '__unittest8' cannot call impure
function 'expectError_'
std/utf.d(754): Error: pure function '__unittest8' cannot call impure
function 'expectError_'
std/utf.d(755): Error: pure function '__unittest8' cannot call impure
function 'expectError_'
std/utf.d(756): Error: pure function '__unittest8' cannot call impure
function 'expectError_'
std/utf.d(802): Error: pure function '__unittest9' cannot call impure
function 'expectError_'
std/utf.d(803): Error: pure function '__unittest9' cannot call impure
function 'expectError_'
std/utf.d(804): Error: pure function '__unittest9' cannot call impure
function 'expectError_'
std/utf.d(805): Error: pure function '__unittest9' cannot call impure
function 'expectError_'
std/utf.d(806): Error: pure function '__unittest9' cannot call impure
function 'expectError_'
std/utf.d(830): Error: pure function '__unittest10' cannot call impure
function 'expectError_'
std/utf.d(831): Error: pure function '__unittest10' cannot call impure
function 'expectError_'
std/utf.d(832): Error: pure function '__unittest10' cannot call impure
function 'expectError_'
std/utf.d(833): Error: pure function '__unittest10' cannot call impure
function 'expectError_'
std/utf.d(834): Error: pure function '__unittest10' cannot call impure
function 'expectError_'
make[1]: *** [generated/linux/debug/unittest/std/utf] Error 1
make: *** [unittest] Error 2


2010/11/23 dsource.org <noreply at dsource.org>

> phobos commit, revision 2189
>
>
> user: Masahiro Nakagawa
>
> msg:
> Clean up std.utf. Remove UtfError and toUTF* shortcut functions. Add
> attributes. count function supports dchar
>
> http://www.dsource.org/projects/phobos/changeset/2189
>
> _______________________________________________
> phobos mailing list
> phobos at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/phobos
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/phobos/attachments/20101123/5481a564/attachment.html>
November 23, 2010
This is because (I suspect) the changeset used the DMD from svn,
rather than 2.050.
I've tried to make sure that my submits still work with 2.050, until a
beta is released. But it would be interesting to know how many Phobos
developers are building DMD as well.


On 23 November 2010 12:24, Lutger Blijdestijn <lutger.blijdestijn at gmail.com> wrote:
> Hello,
> This changeset caused a couple of unittest errors on my machine because of
> the added pure:
>
> Testing generated/linux/debug/unittest/std/utf
> std/utf.d(611): Error: pure function '__unittest5' cannot call impure
> function 'expectError_'
> std/utf.d(612): Error: pure function '__unittest5' cannot call impure
> function 'expectError_'
> std/utf.d(613): Error: pure function '__unittest5' cannot call impure
> function 'expectError_'
> std/utf.d(614): Error: pure function '__unittest5' cannot call impure
> function 'expectError_'
> std/utf.d(615): Error: pure function '__unittest5' cannot call impure
> function 'expectError_'
> std/utf.d(655): Error: pure function '__unittest6' cannot call impure
> function 'expectError_'
> std/utf.d(656): Error: pure function '__unittest6' cannot call impure
> function 'expectError_'
> std/utf.d(657): Error: pure function '__unittest6' cannot call impure
> function 'expectError_'
> std/utf.d(658): Error: pure function '__unittest6' cannot call impure
> function 'expectError_'
> std/utf.d(659): Error: pure function '__unittest6' cannot call impure
> function 'expectError_'
> std/utf.d(752): Error: pure function '__unittest8' cannot call impure
> function 'expectError_'
> std/utf.d(753): Error: pure function '__unittest8' cannot call impure
> function 'expectError_'
> std/utf.d(754): Error: pure function '__unittest8' cannot call impure
> function 'expectError_'
> std/utf.d(755): Error: pure function '__unittest8' cannot call impure
> function 'expectError_'
> std/utf.d(756): Error: pure function '__unittest8' cannot call impure
> function 'expectError_'
> std/utf.d(802): Error: pure function '__unittest9' cannot call impure
> function 'expectError_'
> std/utf.d(803): Error: pure function '__unittest9' cannot call impure
> function 'expectError_'
> std/utf.d(804): Error: pure function '__unittest9' cannot call impure
> function 'expectError_'
> std/utf.d(805): Error: pure function '__unittest9' cannot call impure
> function 'expectError_'
> std/utf.d(806): Error: pure function '__unittest9' cannot call impure
> function 'expectError_'
> std/utf.d(830): Error: pure function '__unittest10' cannot call impure
> function 'expectError_'
> std/utf.d(831): Error: pure function '__unittest10' cannot call impure
> function 'expectError_'
> std/utf.d(832): Error: pure function '__unittest10' cannot call impure
> function 'expectError_'
> std/utf.d(833): Error: pure function '__unittest10' cannot call impure
> function 'expectError_'
> std/utf.d(834): Error: pure function '__unittest10' cannot call impure
> function 'expectError_'
> make[1]: *** [generated/linux/debug/unittest/std/utf] Error 1
> make: *** [unittest] Error 2
>
> 2010/11/23 dsource.org <noreply at dsource.org>
>>
>> phobos commit, revision 2189
>>
>>
>> user: Masahiro Nakagawa
>>
>> msg:
>> Clean up std.utf. Remove UtfError and toUTF* shortcut functions. Add
>> attributes. count function supports dchar
>>
>> http://www.dsource.org/projects/phobos/changeset/2189
>>
>> _______________________________________________
>> phobos mailing list
>> phobos at puremagic.com
>> http://lists.puremagic.com/mailman/listinfo/phobos
>
>
> _______________________________________________
> phobos mailing list
> phobos at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/phobos
>
November 23, 2010
I was specifically told (by you I think) not to use the trunk DMD, as it could be unstable...

-Steve




----- Original Message ----
> From: Don Clugston <dclugston at googlemail.com>
> 
> This is because (I suspect) the changeset used the DMD from svn,
> rather than  2.050.
> I've tried to make sure that my submits still work with 2.050, until  a
> beta is released. But it would be interesting to know how many  Phobos
> developers are building DMD as well.



November 24, 2010
I pushed workaround commit.

http://dsource.org/projects/phobos/changeset/2194


Masahiro

On Tue, 23 Nov 2010 20:24:54 +0900, Lutger Blijdestijn <lutger.blijdestijn at gmail.com> wrote:

> Hello,
>
> This changeset caused a couple of unittest errors on my machine because
> of
> the added pure:
>
> Testing generated/linux/debug/unittest/std/utf
> std/utf.d(611): Error: pure function '__unittest5' cannot call impure
> function 'expectError_'
> std/utf.d(612): Error: pure function '__unittest5' cannot call impure
> function 'expectError_'
> std/utf.d(613): Error: pure function '__unittest5' cannot call impure
> function 'expectError_'
> std/utf.d(614): Error: pure function '__unittest5' cannot call impure
> function 'expectError_'
> std/utf.d(615): Error: pure function '__unittest5' cannot call impure
> function 'expectError_'
> std/utf.d(655): Error: pure function '__unittest6' cannot call impure
> function 'expectError_'
> std/utf.d(656): Error: pure function '__unittest6' cannot call impure
> function 'expectError_'
> std/utf.d(657): Error: pure function '__unittest6' cannot call impure
> function 'expectError_'
> std/utf.d(658): Error: pure function '__unittest6' cannot call impure
> function 'expectError_'
> std/utf.d(659): Error: pure function '__unittest6' cannot call impure
> function 'expectError_'
> std/utf.d(752): Error: pure function '__unittest8' cannot call impure
> function 'expectError_'
> std/utf.d(753): Error: pure function '__unittest8' cannot call impure
> function 'expectError_'
> std/utf.d(754): Error: pure function '__unittest8' cannot call impure
> function 'expectError_'
> std/utf.d(755): Error: pure function '__unittest8' cannot call impure
> function 'expectError_'
> std/utf.d(756): Error: pure function '__unittest8' cannot call impure
> function 'expectError_'
> std/utf.d(802): Error: pure function '__unittest9' cannot call impure
> function 'expectError_'
> std/utf.d(803): Error: pure function '__unittest9' cannot call impure
> function 'expectError_'
> std/utf.d(804): Error: pure function '__unittest9' cannot call impure
> function 'expectError_'
> std/utf.d(805): Error: pure function '__unittest9' cannot call impure
> function 'expectError_'
> std/utf.d(806): Error: pure function '__unittest9' cannot call impure
> function 'expectError_'
> std/utf.d(830): Error: pure function '__unittest10' cannot call impure
> function 'expectError_'
> std/utf.d(831): Error: pure function '__unittest10' cannot call impure
> function 'expectError_'
> std/utf.d(832): Error: pure function '__unittest10' cannot call impure
> function 'expectError_'
> std/utf.d(833): Error: pure function '__unittest10' cannot call impure
> function 'expectError_'
> std/utf.d(834): Error: pure function '__unittest10' cannot call impure
> function 'expectError_'
> make[1]: *** [generated/linux/debug/unittest/std/utf] Error 1
> make: *** [unittest] Error 2
>
>
> 2010/11/23 dsource.org <noreply at dsource.org>
>
>> phobos commit, revision 2189
>>
>>
>> user: Masahiro Nakagawa
>>
>> msg:
>> Clean up std.utf. Remove UtfError and toUTF* shortcut functions. Add
>> attributes. count function supports dchar
>>
>> http://www.dsource.org/projects/phobos/changeset/2189
>>
>> _______________________________________________
>> phobos mailing list
>> phobos at puremagic.com
>> http://lists.puremagic.com/mailman/listinfo/phobos
November 24, 2010
On Wed, 24 Nov 2010 04:56:20 +0900, Don Clugston <dclugston at googlemail.com> wrote:

> This is because (I suspect) the changeset used the DMD from svn,
> rather than 2.050.

Yes, I always use the trunk version of dmd, druntime and phobos.

> I've tried to make sure that my submits still work with 2.050, until a beta is released. But it would be interesting to know how many Phobos developers are building DMD as well.

Hmm... We should have the Phobos development policy.


Masahiro