http://d.puremagic.com/issues/show_bug.cgi?id=3744
yebblies yebbl...@gmail.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=3744
Brad Roberts bra...@puremagic.com changed:
What|Removed |Added
Platform|x86_64 |x86
--- Comment
http://d.puremagic.com/issues/show_bug.cgi?id=3744
--- Comment #8 from iorlas denis.tomi...@gmail.com 2010-02-02 14:40:11 PST ---
Maybe not a pure, but works(also, thx to eldar, qtd-developer):
template Alias(T...){ //small hack, cuz directly alias dont want to work
alias T Alias;
}
alias
http://d.puremagic.com/issues/show_bug.cgi?id=3744
iorlas denis.tomi...@gmail.com changed:
What|Removed |Added
Priority|P2 |P4
http://d.puremagic.com/issues/show_bug.cgi?id=3744
--- Comment #6 from Don clugd...@yahoo.com.au 2010-01-28 11:09:25 PST ---
Actually, there's nothing at all wrong with __traits(getMember).
Really, you are asking for static foreach: given a compile-time constant array,
iterate over each of its
http://d.puremagic.com/issues/show_bug.cgi?id=3744
--- Comment #7 from iorlas denis.tomi...@gmail.com 2010-01-28 21:35:03 PST ---
(In reply to comment #6)
Actually, there's nothing at all wrong with __traits(getMember).
Really, you are asking for static foreach: given a compile-time constant
http://d.puremagic.com/issues/show_bug.cgi?id=3744
--- Comment #1 from iorlas denis.tomi...@gmail.com 2010-01-27 00:14:04 PST ---
I've tried to fix this problem and I've found this part of code, what can say
about this problem:
Object *o = (Object *)args-data[0];
Expression *e =
http://d.puremagic.com/issues/show_bug.cgi?id=3744
Don clugd...@yahoo.com.au changed:
What|Removed |Added
CC||clugd...@yahoo.com.au
---
http://d.puremagic.com/issues/show_bug.cgi?id=3744
--- Comment #3 from iorlas denis.tomi...@gmail.com 2010-01-27 01:41:07 PST ---
(In reply to comment #2)
e-optimize(WANTvalue|WANTinterpret) should have turned it into a TOKstring.
If
it's still a TOKvar, then the problem is in e-optimize or
http://d.puremagic.com/issues/show_bug.cgi?id=3744
--- Comment #4 from Don clugd...@yahoo.com.au 2010-01-27 02:20:05 PST ---
Just had a look at your test code.
The problem lies here:
foreach(string m; a){
__traits(getMember, Check, m)
}
m is not a compile-time constant. Of
http://d.puremagic.com/issues/show_bug.cgi?id=3744
--- Comment #5 from iorlas denis.tomi...@gmail.com 2010-01-27 03:05:12 PST ---
(In reply to comment #4)
Just had a look at your test code.
The problem lies here:
foreach(string m; a){
__traits(getMember, Check, m)
}
m is
11 matches
Mail list logo