integer conversion bug
Status: Alpha
Brought to you by:
dvdfrdmn
There is probably an integer conversion bug in the frontend.
Found on the D.gnu news group:
> write("{}", cast(void*)0xFFFF_FFFF_FFFF_FFFF_UL); // prints
> ffffffffffff, OK
> write(cast(ulong*)0xFFFF_FFFF_FFFF_FFFF_UL); // prints ffffffffffff, OK
> write("{}", cast(ulong*)cast(void*)0xFFFF_FFFF_FFFF_FFFF_UL); // prints
> ffffffff, not OK
See link below for a discussion and patch:
http://www.digitalmars.com/webnews/newsgroups.php?art_group=D.gnu&article_id=3277