akePureMalloc cannot be interpreted at compile time
Adam D. Ruppe
destructionator at gmail.com
Thu Mar 5 20:22:59 UTC 2020
On Thursday, 5 March 2020 at 20:13:11 UTC, Adnan wrote:
> auto d = some!(some!int(9));
My guess would be this line is causing your trouble. That is
trying to pass an instance as a value at compile time, thus
triggering ctfe.
Since you use the `Array` object inside and that uses malloc,
this call tries to run malloc at compile time triggering the
error.
It kinda looks like a typo anyway...
More information about the Digitalmars-d-learn
mailing list