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


Walter Bright <bugzi...@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |INVALID


--- Comment #6 from Walter Bright <bugzi...@digitalmars.com> 2012-04-20 
16:49:40 PDT ---
> AliasTheInt!( thing.x )();  // this is the problem

Right. It's a problem because thing.x is being passed as an *alias* parameter.
An alias must be symbol, not a computation on a symbol. thing.x is semantically
equivalent to:

   *(&thing + x.offsetof)

which is not a symbol.

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

Reply via email to