www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 5916] New: DMD: bad message for incorrect operands error

reply d-bugmail puremagic.com writes:
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 puremagic.com
        ReportedBy: ibuclaw ubuntu.com



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: -------
May 01 2011
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=5916


Walter Bright <bugzilla digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla digitalmars.com
         Resolution|                            |FIXED



20:06:15 PDT ---
https://github.com/D-Programming-Language/dmd/commit/455f8b1911d81816aa784d3b1b765da5e88c7337

https://github.com/D-Programming-Language/dmd/commit/54259553fd2b969e33c60a7f3404ead756b398e3

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