This is a CTFE bug, I'll get onto it (sorry, I was very busy this past weekend).
On 8 May 2011 05:18, Walter Bright <[email protected]> wrote: > > > On 5/7/2011 7:20 PM, Nick Sabalausky wrote: >> >> Ok, here's a minimal test case: >> >> string[] foo(string[] a) >> { >> a[0] = a[0][0..$]; >> return a; >> } >> enum var = foo([""]); >> >>> dmd test.d >> >> Stack overflow >> > > Thanks! > _______________________________________________ > dmd-beta mailing list > [email protected] > http://lists.puremagic.com/mailman/listinfo/dmd-beta > _______________________________________________ dmd-beta mailing list [email protected] http://lists.puremagic.com/mailman/listinfo/dmd-beta
