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

           Summary: "auto x = new shared foo" does not compile
           Product: D
           Version: 2.030
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: jason.james.ho...@gmail.com


Created an attachment (id=402)
 --> (http://d.puremagic.com/issues/attachment.cgi?id=402)
File demonstrating the issue

Attached is a simple test case that I think should compile.  It seems that
shared foo must be replaced with shared(foo).  It's certainly easier to type in
the way I'm hoping for.  Things get a bit ridiculous when templates are
involved auto x = new shared(foo!(bar, baz))(alpha, beta);  Anything that can
be done to reduce the parenthesis is nice.

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

Reply via email to