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

           Summary: Synopsis code in std.variant documentation does throw
                    an assertion error
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Phobos
        AssignedTo: nob...@puremagic.com
        ReportedBy: daniel.kullm...@gmx.net


--- Comment #0 from Daniel Kullmann <daniel.kullm...@gmx.net> 2010-09-23 
07:49:51 PDT ---
Created an attachment (id=766)
Fix for bug

When running the code from the synopsis in the documentation for std.variant,
it throws an assertion error, because one of the asserts is the wrong way
round.
Attached a patch that also makes the Synopsis code a complete program

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

Reply via email to