interpret.c assertion failure on enum.stringof mixin
Don
nospam at nospam.com
Sun Feb 7 23:54:18 PST 2010
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.
More information about the Digitalmars-d-learn
mailing list