[Issue 5916] New: DMD: bad message for incorrect operands error

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun May 1 10:56:54 PDT 2011


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

           Summary: DMD: bad message for incorrect operands error
           Product: D
           Version: D1 & D2
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: ibuclaw at ubuntu.com


--- Comment #0 from Iain Buclaw <ibuclaw at ubuntu.com> 2011-05-01 10:53:03 PDT ---
The numbers are passed backwards in the format: "%u operands found for %s
instead of the expected %u", so I'd imagine just needs switching around.

ie:

asm { bound; }
=> 2 operands found for bound instead of the expected 0

asm { bound AX; }
=> 2 operands found for bound instead of the expected 1

asm { bound AX, BX, CX; }
=> 2 operands found for bound instead of the expected 3

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