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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Mar 31 10:28:17 PDT 2012


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


dawg at dawgfoto.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dawg at dawgfoto.de


--- Comment #3 from dawg at dawgfoto.de 2012-03-31 10:28:47 PDT ---
That smells like a very hacky special case. Picking
up symbols from the instantiation scope is very ambivalent.

I'd argue that importing test in class C should fix the UFCS behavior,
but it currently doesn't because func is found as a member of C.

class C { import test; }

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