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



--- Comment #8 from Martin Nowak <[email protected]> 2013-04-10 18:19:57 PDT ---
(In reply to comment #7)
> Because semantic3 on MapResult.bar() is not run during a's compilation the
> funcliteral is never referenced and missing from a.o.
> 
That was incorrect semantic3 for the function literal and MapResult.bar is run
and bar is added as a weak symbol to a.o which actually causes the link error
because the funcliteral remains undefined.

We need to fix the unique id issue for anonymous literals.
We shouldn't emit an unused template instance to a.o just because we ran
semantic3 on foo, note that foo returns void.

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

Reply via email to