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


Vladimir Panteleev <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]


--- Comment #3 from Vladimir Panteleev <[email protected]> 2014-03-07 
17:54:23 EET ---
(In reply to comment #2)
> It does not also make any sense from language semantics point of view as
> a.tupleof is effectively tuple of variable aliases. And there is no such thing
> as `ref alias`.
> 
> Sounds more like a hack to fix another hack.

I see it more like the foreach body being like a function (whose body is
implicitly inlined). In this context, "ref" works out fine. Since .tupleof only
enumerates fields, and not functions, each member can be mapped to a concrete
value (and thus can work with "ref").

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

Reply via email to