[Issue 9515] UFCS fails with local aliases

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Mar 23 18:28:13 PDT 2014


https://d.puremagic.com/issues/show_bug.cgi?id=9515



--- Comment #4 from Jonathan M Davis <jmdavisProg at gmx.com> 2014-03-23 18:28:11 PDT ---
> UFCS is not designed to work for local symbols.

It may very well be an enhancement rather than a bug to get it working with
local symbols, but given that we're trying to make it so that there's no real
difference between local imports and module-level imports (aside from the scope
of the import), I'd say that we should definitely get UFCS working with local
imports. It follows the whole "turtles all the way down" principle that we're
generally striving for. Certainly, I don't know why we wouldn't implement this.
It should simply be a question of someone taking the initiative to get it done
rather than whether we should do it or not.

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


More information about the Digitalmars-d-bugs mailing list