digitalmars.D.bugs - [Issue 10925] New: unittests qualified on the right hand side fail
- d-bugmail puremagic.com (33/33) Aug 30 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10925
http://d.puremagic.com/issues/show_bug.cgi?id=10925 Summary: unittests qualified on the right hand side fail Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: monarchdodra gmail.com //==== pure unittest { } //==== OK! //==== unittest pure { } //==== Error: statement expected to be { }, not pure This is inconsistent with how functions can be qualified. I, and others have been hit by this, and is quite a pain. ANother argument for allowing it is that the word "unittest" remainsthe first word of the line, making it easier to detect *as* a unittest when scanning through a document, rather than some function. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Aug 30 2013