[Issue 5302] New: Inline assembler: Indexing struct fields not possible inside member function

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Dec 1 10:23:24 PST 2010


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

           Summary: Inline assembler: Indexing struct fields not possible
                    inside member function
           Product: D
           Version: unspecified
          Platform: Other
        OS/Version: Mac OS X
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: htvennik at zonnet.nl


--- Comment #0 from Harry Vennik <htvennik at zonnet.nl> 2010-12-01 10:21:53 PST ---
@ DMD 2.050

An instruction like:

mov EAX, Struct.field[EDX];

compiles OK in free functions, but when inside a member function, the compiler
complains about a wrong type of 'this' for type Struct.

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