On Sunday, 19 October 2014 at 14:48:18 UTC, monarch_dodra wrote:
On Sunday, 19 October 2014 at 09:39:05 UTC, nrgyzer wrote:
Hi guys,

when I do the following:
     static if ( isCallable!(mixing(m) )

"mixing" ?

void main() { /* do something here */ }

What exactly are you doing here?

... I'm getting many error messages like these:

myMain.d-mixin-11(11): Error: undefined identifier _D12TypeInfo_xAa6__initZ myMain.d-mixin-11(11): Error: undefined identifier _D49TypeInfo_xAS3std8typecons16__T5TupleTkTkTkZ5Tuple6__initZ
myMain.d-mixin-11(11): Error: undefined identifier

Sounds like your import was also import std.typecons which appears to have been required in your main.

"mixing" should be replaced with "mixin": static if ( isCallable!(mixin(m) )

My main is empty in both cases. So nothing done in my main (currently).

Reply via email to