[Issue 3544] optlink termination 0041338f with recursive nested functions

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Nov 25 05:29:16 PST 2009


http://d.puremagic.com/issues/show_bug.cgi?id=3544



--- Comment #9 from Don <clugdbug at yahoo.com.au> 2009-11-25 05:29:15 PST ---
Even smaller test case. Seems it happens with a depth around 512; it's probably
exceeding the maximum symbol length.
---
char[] foo(int n) {
  return "void abcde() {" ~ ( n>0 ? foo(n-1): "") ~ "}";
}

mixin (foo(500));

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list