Compile time function execution...

Frits van Bommel fvbommel at REMwOVExCAPSs.nl
Fri Feb 16 15:39:37 PST 2007


Brian Byrne wrote:
> 
> I'm having a few problems getting some simple examples to work, for 
> instance:
> 
> -----
> char[] foo() { return( "bar" ); }
> void main() { const char[] bar = foo(); }
> 
> Assertion failure: 'parameters && parameters->dim == dim' on line 96 in 
> file 'interpret.c'
> 
> abnormal program termination
> -----

This bug has already been reported: 
http://d.puremagic.com/issues/show_bug.cgi?id=968



More information about the Digitalmars-d mailing list