digitalmars.D.learn - Why does foreach with __traits ignore ForeachTypeList's type ?
- "Eyyub" <eyyub.pangearaion gmail.com> Aug 04 2012
- "Eyyub" <eyyub.pangearaion gmail.com> Aug 04 2012
- "bearophile" <bearophileHUGS lycos.com> Aug 04 2012
- "Eyyub" <eyyub.pangearaion gmail.com> Aug 04 2012
Hi, As I said on #d, foreach with __traits seems to ignore ForeachTypeList's type. Look at this ! :p http://dpaste.dzfl.pl/0885e1de Wtf ? Thanks
Aug 04 2012
It looks like the problem is TypeTuple : http://dpaste.dzfl.pl/de2264dd
Aug 04 2012
Eyyub:It looks like the problem is TypeTuple : http://dpaste.dzfl.pl/de2264dd
Fixed in DMD 2.060? http://d.puremagic.com/issues/show_bug.cgi?id=5435 Bye, bearophile
Aug 04 2012
On Saturday, 4 August 2012 at 14:27:44 UTC, bearophile wrote:Eyyub:It looks like the problem is TypeTuple : http://dpaste.dzfl.pl/de2264dd
Fixed in DMD 2.060? http://d.puremagic.com/issues/show_bug.cgi?id=5435 Bye, bearophile
Sorry I did not look at the changelog before posting. 2.060 looks cool. Thanks bearophile !
Aug 04 2012









"Eyyub" <eyyub.pangearaion gmail.com> 