I pushed workaround commit.

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


Masahiro

On Tue, 23 Nov 2010 20:24:54 +0900, Lutger Blijdestijn <[email protected]> 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 <[email protected]>

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
[email protected]
http://lists.puremagic.com/mailman/listinfo/phobos
_______________________________________________
phobos mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/phobos

Reply via email to