strtr wrote:
strtr Wrote:enum { E }; void _mixin() { writefln( E.stringof ); } void func() { mixin(_mixin); } Assertion failure: '!dim || (parameters && (parameters->dim == dim))' on line 140 in file 'interpret.c' At least I got a line number this time :)
Wow, seems like you and the compiler are at war...
Had nothing to do with the enum :) void _mixin() { writefln( "" ); } void func() { mixin(_mixin); }
Please put this into bugzilla. Title "ICE(interpret.c): mixin non-CTFE function" or similar.