www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 3542] New: Unittest block does not require a closing bracket

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

           Summary: Unittest block does not require a closing bracket
           Product: D
           Version: 2.036
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Keywords: accepts-invalid
          Severity: trivial
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: snake.scaly gmail.com


--- Comment #0 from Sergey Gromov <snake.scaly gmail.com> 2009-11-22 08:50:05
PST ---
The following one-liner:

-----8<------
unittest {
-----8<------

compiles successfully with DMD 2.036.  This is a regression from 2.031.

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