[Issue 7802] UFCS functions get lost when type is transmitted to template

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Apr 5 04:52:47 PDT 2012


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



--- Comment #9 from Steven Schveighoffer <schveiguy at yahoo.com> 2012-04-05 04:53:22 PDT ---
(In reply to comment #8)
> Walter's suggestion supports both testfoo and testbar, but I'm afraid that it
> causes code bloating.
> Steven's suggestion supports testfoo, but cannot support testbar.

What about a compromise?  testfoo will be compiled without the LOCAL moniker,
but testbar will compile with it.  In other words, implement both ideas.

In any case, you will be probably doing the same underlying work for both
solutions to determine what scope is necessary to do a symbol lookup.

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