On 3/1/11 7:58 AM, Peter Lundgren wrote:
I'm trying to use mixins to generate an array of numbers that are coprime to a
statically known value. I've tried the following, but I receive the error:

Error: to(i) ~ ", " cannot be interpreted at compile time
[…]

Maybe I missed something as well, but to me it seems to be a CTFE bug, because if you split the offending line into two parts, it

result ~= to!string(i);
result ~= ", ";

Please consider filing this to Bugzilla.

David

Reply via email to