[Issue 9292] hasNestedArgs wrong result for nested template literal

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jan 12 10:24:24 PST 2013


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



--- Comment #2 from Johannes Pfau <johannespfau at gmail.com> 2013-01-12 10:24:22 PST ---
What drawback has marking all functions PUBLIC? I guess it'll completely
prevent the backend from removing unreachable nested functions so it's not a
perfect soultion. Although it sounds like a simple & quick solution to a not so
simple problem.

Doesn't detecting such cases in the backend basically mean duplicating the
hasNestedArgs functionality? And I guess the GCC backend doesn't let us skip
those tests, as it seems to chocke on nested, public functions.

We can continue the gdc specific discussion here:
http://gdcproject.org/bugzilla/show_bug.cgi?id=35 but I think we should still
leave this bug open as it's also a bug in the frontend.

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