Dump mixins (preprocessed/generated) code
Domingo Alvarez Duarte via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Fri Jul 18 05:09:40 PDT 2014
Thank you so much !
That did exactly what I was looking for, but now why I'm getting
that error message ?
Any help is welcome ! Cheers !
The generated code seems to fine:
----
debug assert(t.stackIndex > t.stackBase, (printStack(t),
printCallStack(t), "fail."));
static if(!is(typeof(__FUNCTION__))) {
struct __FUNCTION {} const char[] __FUNCTION__ =
_getJustName(__FUNCTION.mangleof);
}
if((stackSize(t) - 1) < 1)
throwStdException(t, "ApiError", __FUNCTION__ ~ " - not enough
parameters (expected {}, only have {} stack slots)", 1,
stackSize(t) - 1);
----
More information about the Digitalmars-d-learn
mailing list