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

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


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


Don <clugdbug at yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|optlink unexpected          |optlink termination
                   |termination 0041338f        |0041338f with recursive
                   |                            |nested functions


--- Comment #8 from Don <clugdbug at yahoo.com.au> 2009-11-25 05:16:07 PST ---
Completely reduced test case shows it's due to nested functions.
----------
char[] foo(int n) {
  if (n == 0)  return "void xxxx() {}";
  return "void xxxx() { void yyyy() { }" ~ foo(n-1) ~ "}";
}

mixin (foo(400));

-- 
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